Fixed the close over methods and member vars bug, but there's something remaining causing the safe_recursive_delete not to work. Gotta save progress and do other stuff

This commit is contained in:
Nathan Braswell
2015-06-27 18:06:02 -04:00
parent 8feb9819b8
commit c50c977a9e
20 changed files with 370 additions and 40 deletions

View File

@@ -0,0 +1,25 @@
import io:*
fun Comparable<T>(): Comparable<T> {
var toRet : Comparable<T>
return toRet
}
fun Comparable<T>(item: T): Comparable<T> {
var toRet : Comparable<T>
return toRet
}
obj Comparable<T> {
fun operator==(other: Comparable<T>):bool {
return false
}
}
fun main():int {
var first: Comparable<int>
var second: Comparable<int>
println(first == second)
return 0
}