[Kotlin] Update a diagnostic message in a test to match the older compiler

IJ-CR-147773

Related compiler changes: KT-61272

GitOrigin-RevId: 90785ba8646fc6ef168f2cb0c48c18ca865f3b61
This commit is contained in:
Pavel Kirpichenkov
2024-11-08 14:32:31 +02:00
committed by intellij-monorepo-bot
parent 6ebe11ab30
commit 1cd997f6d6

View File

@@ -16,4 +16,4 @@ private fun mySealed(s: MySealed) {
}
// Not enabled to have the test work for K1: -Xwhen-guards doesn't fix the error because of a low language version
// ERROR: The feature "when guards" is experimental and should be enabled explicitly. This can be done by supplying the compiler argument '-Xwhen-guards', but note that no stability guarantees are provided.
// ERROR: The feature "when guards" is experimental and should be enabled explicitly