0.5.3: Single-module not respected. Fix issue with compiler defined types. Fix optimization levels for projects. Use GEP i8 on offsets. Optimize foreach on len 1 arrays. Move panic blocks last. Fix generic module wildcard imports. Deprecate init_temp / init_new. Fix issue with macro vaarg and untyped lists. Fix extern const globals.

This commit is contained in:
Christoffer Lerno
2023-12-27 00:43:37 +01:00
committed by Christoffer Lerno
parent e91f6e268e
commit deb4cc7c4b
208 changed files with 9555 additions and 9369 deletions

View File

@@ -17,7 +17,7 @@ fn void map()
{
Map m;
assert(!m.is_initialized());
m.init_temp();
m.temp_init();
assert(m.is_initialized());
assert(m.is_empty());
assert(m.len() == 0);
@@ -41,7 +41,7 @@ fn void map()
}
List list;
list.init_temp();
list.temp_init();
m.@each(;String key, usz value)
{
list.push({key, value});