Revert "Temporary remove some tests after a fix for KT-24937"

This reverts commit ddb4e8b128.
This commit is contained in:
Denis Zharkov
2019-01-14 10:50:41 +03:00
parent ac1b4cf6b2
commit 3707812fc2
5 changed files with 426 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
fun main(args: Array<String>) {
val c = C(1, 2, 3, 4)
val number = when (c) {
match B(e1, e2 @ : Pair if(l > r), e3) @ a: A @ m -> e1 + l + r
match (_, p :Pair, _) -> 20
else -> 40
}
println(number)
}