JET-18 Resolve references to value parameters of the primary constructor to parameter or property descriptors according to the semantics

This commit is contained in:
Andrey Breslav
2011-05-02 22:03:00 +04:00
parent 1b2577078a
commit 98d3f8260b
5 changed files with 18 additions and 112 deletions
+12
View File
@@ -49,3 +49,15 @@ class NoCPI {
get() = 1
set(v) {}
}
a.select(it => it.toString()).where(it => it < 1)
a.select{it.toString()}.where{it < 1}
for (a in 1..10)
for ((val a, val b) in range)
for ((a, b) in range) {
is Foo => sdgfsdg
}