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:
Benjamin Smedberg 2008-12-01 13:59:58 -05:00
Родитель 79aaf07ceb
Коммит ac9c2a0930
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -184,7 +184,7 @@ function process_cp_pre_genericize(fndecl)
let r = isStack(destType);
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());
}
}
}