separate compiler and plugin tests
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
[inline] fun with<T>(receiver : T, body : fun T.() : Unit) = receiver.body()
|
||||
|
||||
fun example() {
|
||||
|
||||
with(java.lang.System.out) {
|
||||
println("foo");
|
||||
print("bar");
|
||||
}
|
||||
|
||||
System.out.{
|
||||
println("foo");
|
||||
print("bar");
|
||||
}()
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user