Fix templated types getting their indirection stripped off when used

This commit is contained in:
Nathan Braswell
2016-02-01 15:59:41 -05:00
parent 70ebefcc25
commit 24fb8d288f
3 changed files with 7 additions and 3 deletions

View File

@@ -45,8 +45,11 @@ fun some_other_function(in: bool): float {
}
*/
fun main(): int {
var a = id<int>(7)
simple_println(a)
/*var a = id<int>(7)*/
/*simple_println(a)*/
/*var b = id<*char>("Double down time")*/
/*simple_println(b)*/
simple_println(id<*char>("Double down time"))