Minor, restructure parsing test case for '::'

This commit is contained in:
Alexander Udalov
2016-04-18 11:24:53 +03:00
parent 3dc32fb5db
commit 4706d4eaea
5 changed files with 345 additions and 275 deletions
+28
View File
@@ -0,0 +1,28 @@
fun err0() {
a::b()
}
fun err1() {
a.b::c()
}
fun err2() {
A::
}
fun err3() {
::
}
fun typeArgumentsError() {
::a<b>
::a<b,c<*>>
a::b<c>
::a<b>()
}
fun expressionsOnLHS() {
a::b.c::d
A::a::b
}