Changed extension in parsing test data (jet -> kt)

This commit is contained in:
Evgeny Gerashchenko
2013-09-17 18:05:44 +04:00
parent 2ee3d22ab9
commit e338cda06d
259 changed files with 519 additions and 400 deletions
+58
View File
@@ -0,0 +1,58 @@
fun foo() {
b().x
x++ . 4
++ -- ! a
f(foo<a, a, b>(x))
f(foo<a, 1, b>(x))
f(foo<a, (a + 1), b>(x))
f(foo<a, (b>(x)))
f(foo<a, b>(x))
f((foo<a), b>(x))
f(foo<a, b)
a + b
a + b * c
a + (b * c)
(a + b) * c
a + b > c * c
a + b in c * d
a.b
a + b.c
a.b + c
a.b++
--a.b++
--a * b
a+b..b-1
1..2 foo 2..3
1 foo 2 ?: 1 bar 3
a b c d e f g
a ?: b in b?: c
(a : b) < b : c
a < b == b > c
a != b && c
a || b && c
a = b -> c
a = b || c
t : Any
t : Any?
t as Any<T>?
t as Any.Any<T>.Any<T>
t as () -> T
t as? Any<T>?
t as? Any.Any<T>.Any<T>
t as? () -> T
t : Any * 1
t : Any? * 1
t as Any<T>? * 1
t as Any.Any<T>.Any<T> * 1
t as () -> T * 1
t as? Any<T>? * 1
t as? Any.Any<T>.Any<T> * 1
t as? () -> T * 1
++t : Any + 1
a.b : Any + 1
(t : Any) * 1
}