Type patterns supported

This commit is contained in:
Andrey Breslav
2011-05-13 17:07:21 +04:00
parent 1966d6d12c
commit 7848122d8d
8 changed files with 76 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
fun test() {
if (1 is Int) {
if (<warning>1 is Boolean</warning>) {
}
}
}