Enable pooled closure test; keep MI serialization ignored
This commit is contained in:
1 parent
5b15d85c14
commit
f0bcee407a
2 files changed
+2
-3
No files matched your search
@@ -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 )
|
||||
|
||||
@@ -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 = """
|
||||
|
||||
Reference in new issue
Block a user