This commit is contained in:
Andrey Breslav
2011-03-15 19:43:11 +03:00
parent 764fbf005e
commit 681d979a8d
2 changed files with 14 additions and 5 deletions
@@ -9,6 +9,7 @@ import util.*
~div~fun div(t : String) : Int {}
~mod~fun mod(t : String) : Int {}
~rangeTo~fun rangeTo(t : String) : Int {}
~==~fun equals(a : Any?) : Boolean {}
}
~t~fun <~t.T~T> t(~t.t~t : `t.T`T) : `t.T`T {
@@ -26,6 +27,8 @@ import util.*
x `div`/ ""
x `mod`% ""
x `rangeTo`.. ""
x `==`== ""
x `==`!= 1
}
~Foo~class Foo {