Fixed up function template inference to handle pointer to template types

This commit is contained in:
Nathan Braswell committed 2015-05-23 23:40:55 -04:00
1 parent eebffb404e
commit 7448a88f66
3 files changed
+24

No files matched your search

@@ -0,0 +1 @@
8
+12
View File
@@ -0,0 +1,12 @@
import io:*
fun ptrFn<T>(ptr: T*):void {
println(*ptr)
}
fun main():int {
var a = 8
ptrFn(&a)
return 0
}