Enable pooled closure test; keep MI serialization ignored

This commit is contained in:
Sergey Chernov 2026-02-18 12:10:26 +03:00
parent 5b15d85c14
commit f0bcee407a
2 changed files with 2 additions and 3 deletions

View File

@ -714,7 +714,7 @@ class Wallet( id, ownerKey, balance=0, createdAt=Instant.now().truncateToSecond(
@Test
@Ignore("TODO(bytecode-only): MI serialization fallback")
@Ignore("TODO(bytecode-only): MI serialization does not preserve ColoredPoint type yet")
fun testMISerialization() = runTest {
val s = testScope()
s.eval("""
@ -723,7 +723,7 @@ class Wallet( id, ownerKey, balance=0, createdAt=Instant.now().truncateToSecond(
class Point(x,y)
class Color(r,g,b)
class ColoredPoint(x, y, r, g, b): Point(x,y), Color(r,g,b)
class ColoredPoint(px, py, cr, cg, cb): Point(px,py), Color(cr,cg,cb)
val cp = ColoredPoint(1,2,30,40,50)
val d = testEncode( cp )

View File

@ -75,7 +75,6 @@ class ScriptSubsetJvmTest_Additions5 {
assertEquals(3L, r)
}
@Ignore("TODO(bytecode+closure): pooled lambda calls duplicate side effects; re-enable after fixing call semantics")
@Test
fun pooled_frames_closure_this_capture_jvm_only() = runBlocking {
val code = """