Initial work for functions as values. Actually works, but you can't write out the type and thus can only declare function pointer variables with type inference.

This commit is contained in:
Nathan Braswell committed 2015-05-18 04:46:03 -04:00
1 parent 65fd2ed9b7
commit 911b25f78b
8 files changed
+172 -111

No files matched your search

@@ -0,0 +1 @@
9
+13
View File
@@ -0,0 +1,13 @@
import io:*
fun test(): void {
println(9)
}
fun main(): int {
var val = test
val()
return 0
}