60 tests passing
This commit is contained in:
3
tests/.gitignore
vendored
3
tests/.gitignore
vendored
@@ -1,6 +1,7 @@
|
||||
tester
|
||||
test_compiler
|
||||
*.results
|
||||
*.c
|
||||
test_chainedIndirectTemplates
|
||||
test_functionsValues
|
||||
test_future
|
||||
@@ -8,3 +9,5 @@ test_grammer
|
||||
test_set
|
||||
test_templateFuncInfr
|
||||
test_util
|
||||
test_close_over_members
|
||||
test_string
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import io:*
|
||||
import set
|
||||
import mem
|
||||
import util
|
||||
|
||||
fun runFunc(func: fun():void) {
|
||||
func()
|
||||
@@ -26,7 +26,7 @@ obj One (Object) {
|
||||
}
|
||||
fun destruct() {
|
||||
var a:One
|
||||
mem::safe_recursive_delete(&a, fun(it: *One): set::set<*One> { return set::set(it); } )
|
||||
util::safe_recursive_delete(&a, fun(it: *One): set::set<*One> { return set::set(it); } )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user