Support !!foo as a double-negation

This commit is contained in:
Andrey Breslav
2012-03-23 10:41:45 +01:00
parent 77159a0d8e
commit 90e5510b5d
6 changed files with 634 additions and 489 deletions
+10
View File
@@ -0,0 +1,10 @@
fun main(args : Array<String>) {
!true;
!!true;
!!!true;
!!!!true;
true!!!
true!!!!
true!!and(false)
true!!.and(false)
}