Extended unify_type to unify through pointers, should work for all the features now implemented

This commit is contained in:
Nathan Braswell
2016-02-09 12:47:21 -05:00
parent f70aed9589
commit 46f4f95f00
2 changed files with 11 additions and 4 deletions

View File

@@ -37,8 +37,8 @@ fun return_something_p_1(it: Something): Something {
return it
}
*/
/*fun id<T>(in: *T): *T return in;*/
fun id<T>(in: T): T return in;
fun id<T>(in: *T): *T return in;
/*fun id<T>(in: T): T return in;*/
fun other_id<T>(in: T): T {
var a: T
a = in