'...' reserved as a token

KT-9708 Ambiguous syntax for Double ranges: `.1...2` (triple dot)

 #KT-9708 Fixed
This commit is contained in:
Andrey Breslav
2015-11-27 15:17:04 +03:00
parent 877129340f
commit aca355acdc
10 changed files with 768 additions and 627 deletions
+11
View File
@@ -0,0 +1,11 @@
...
fun foo() {
for (i in 1...2) {
}
for (i in 1.. .2) {
}
}