Parse expressions on LHS of '::'

See https://github.com/Kotlin/KEEP/issues/5
This commit is contained in:
Alexander Udalov
2016-04-15 20:01:20 +03:00
parent 7cb61b81ab
commit b5388d6a43
13 changed files with 712 additions and 394 deletions
+8 -5
View File
@@ -14,6 +14,14 @@ fun err3() {
::
}
fun err4() {
::x()
}
fun err5() {
::x()()
}
fun typeArgumentsError() {
::a<b>
::a<b,c<*>>
@@ -21,8 +29,3 @@ fun typeArgumentsError() {
::a<b>()
}
fun expressionsOnLHS() {
a::b.c::d
A::a::b
}