Add bytecode support for when statements

This commit is contained in:
sergeych committed 2026-01-29 04:11:27 +03:00
1 parent 91624a30b8
commit e143f31f3d
5 files changed
+218 -56

No files matched your search

@@ -2351,7 +2351,6 @@ class ScriptTest {
}
}
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test
fun testSimpleWhen() = runTest {
eval(
@@ -2376,7 +2375,6 @@ class ScriptTest {
)
}
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test
fun testWhenIs() = runTest {
eval(
@@ -2407,7 +2405,6 @@ class ScriptTest {
)
}
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test
fun testWhenIn() = runTest {
eval(
@@ -2502,7 +2499,6 @@ class ScriptTest {
// )
// }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test
fun testWhenSample1() = runTest {
eval(