Unignore ScriptTest enum/splat/pos

This commit is contained in:
Sergey Chernov 2026-01-30 20:07:01 +03:00
parent eb869dc112
commit 7c60f02868

View File

@ -4390,7 +4390,7 @@ class ScriptTest {
) )
} }
@Ignore("incremental enable") @Ignore("incremental enable: unresolved names are now compile-time errors")
@Test @Test
fun testHangOnNonexistingMethod() = runTest { fun testHangOnNonexistingMethod() = runTest {
eval( eval(
@ -4414,7 +4414,6 @@ class ScriptTest {
) )
} }
@Ignore("incremental enable")
@Test @Test
fun testUsingClassConstructorVars() = runTest { fun testUsingClassConstructorVars() = runTest {
val r = eval( val r = eval(
@ -4447,7 +4446,7 @@ class ScriptTest {
println(r) println(r)
} }
@Ignore("incremental enable") @Ignore("incremental enable: parent scope capture for child eval not wired")
@Test @Test
fun testScopeShortCircuit() = runTest() { fun testScopeShortCircuit() = runTest() {
val baseScope = Script.newScope() val baseScope = Script.newScope()
@ -4513,7 +4512,6 @@ class ScriptTest {
assertEquals(51, r.toInt()) assertEquals(51, r.toInt())
} }
@Ignore("incremental enable")
@Test @Test
fun testFirstInEnum() = runTest { fun testFirstInEnum() = runTest {
eval( eval(
@ -4531,7 +4529,6 @@ class ScriptTest {
) )
} }
@Ignore("incremental enable")
@Test @Test
fun testAutoSplatArgs() = runTest { fun testAutoSplatArgs() = runTest {
eval( eval(
@ -4547,7 +4544,7 @@ class ScriptTest {
) )
} }
@Ignore("incremental enable") @Ignore("incremental enable: cached helper not resolved in new compiler")
@Test @Test
fun testCached() = runTest { fun testCached() = runTest {
eval( eval(
@ -4634,7 +4631,6 @@ class ScriptTest {
) )
} }
@Ignore("incremental enable")
@Test @Test
fun testProperlyReportExceptionPos() = runTest { fun testProperlyReportExceptionPos() = runTest {
var x = assertFailsWith<ExecutionError> { var x = assertFailsWith<ExecutionError> {