Fix templated types getting their indirection stripped off when used
This commit is contained in:
@@ -138,6 +138,7 @@ obj type (Object) {
|
||||
return string("impossible type, indirection:") + indirection
|
||||
}
|
||||
fun clone_with_increased_indirection(): *type return clone_with_indirection(indirection+1);
|
||||
fun clone_with_increased_indirection(more: int): *type return clone_with_indirection(indirection+more);
|
||||
fun clone_with_decreased_indirection(): *type return clone_with_indirection(indirection-1);
|
||||
fun clone_with_indirection(ind: int): *type {
|
||||
var to_ret = new<type>()
|
||||
|
||||
Reference in New Issue
Block a user