JS: create new common directory for all generated tests, migrate several tests there
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// KT-4600 Generated wrong code when capturing `this` in extension function inside a method
|
||||
|
||||
package foo
|
||||
|
||||
public class Foo(val trigger: () -> Any) {
|
||||
fun test() = myRun { trigger() };
|
||||
}
|
||||
|
||||
fun box() = Foo({ "OK" }).test()
|
||||
Reference in New Issue
Block a user