bump version to 1.0.7-SNAPSHOT; fix potential infinite loops in Scope traversal
This commit is contained in:
1 parent
55caa65f97
commit
c0fab3d60e
3 files changed
+61
-14
No files matched your search
@@ -4056,4 +4056,18 @@ class ScriptTest {
|
||||
""".trimIndent()
|
||||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testHangOnPrintlnInMethods() = runTest {
|
||||
eval("""
|
||||
class T(someList) {
|
||||
fun f() {
|
||||
val x = [...someList]
|
||||
println(x)
|
||||
}
|
||||
}
|
||||
T([1,2]).f()
|
||||
""")
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user