Parse expressions on LHS of '::'
See https://github.com/Kotlin/KEEP/issues/5
This commit is contained in:
+8
-5
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user