Change the stack-class analysis to a warning instead of an error, at least temporarily: the analysis was buggy when originally landed, and there are some heap-allocated autostrings outstanding through the tree.
This commit is contained in:
@@ -184,7 +184,7 @@ function process_cp_pre_genericize(fndecl)
|
|||||||
|
|
||||||
let r = isStack(destType);
|
let r = isStack(destType);
|
||||||
if (r)
|
if (r)
|
||||||
error("constructed object of type '%s' not on the stack: %s".format(destType.name, r), getLocation());
|
warning("constructed object of type '%s' not on the stack: %s".format(destType.name, r), getLocation());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user