You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
0.6.4 Change list
Changes / improvements
int a[4] = ...
. Error quality of life: Common C porting bug has an unusual error #1518int Foo(int a)
declarations Error quality of life: detecting function like signature is fooled by a spurious semi-colon #1516MyInterface x = foo;
error quality of life: interface arguments require a pointer to the struct implementing them #1522@adhoc
, allow non-nested ad hoc generic types.any
.<* *>
docs.var $type = int;
Error quality of life: macro var declaration variable must be a capital but not made very clear #1553.void*
toany
or an interface, unless it isnull
.def
aliased Error with symbol resolution #1559.string::new_struct_to_str
andio::struct_to_format
to dump struct data.io::print
will now print structs.void
aliases as variable storage type.exec
)Fixes
Unsupported int[*] $x = { 1, 2, 3, 4 }
Unsupported int[*] $x = int[4] { 1, 2, 3, 4 }; #1489.copysign
Unexpected compile error using a typed constant #1517-
using stdin.-
would reject the program.void!
.void
as a generic parameter #1546Error: An 'extern' function may not have a body.
#1536.fn void()
lambda causes compiler SIGSEV #1554.ZString a = foo ? "a" : "b";
String literal not converted to ZString when in ternary operator #1561fn
in interfaces. Interface parse with Assertion failed #1565if (try foo)
was handled incorrectly inside a defer.&self
argument not implicitly null checked. Target object of method is not null checked #1556.(uptr)&((Foo*)null).a
incorrectly inserts a null check. Taking the address of a member of a struct for a pointer that is null crashes on Windows #1544$eval
is provided an invalid string.$eval("foo()")
fails with messageError: Only valid types may be resolved with $evaltype.
#1570HashMap.copy_keys
did not properly copy keys which needed to be allocated copy out keys also in HashMap.copy_keys #1569$define
would occasionally not properly evaluate declarations it encountered.@tag
errors when using@tag
to give a type definition a tag value of its own type #1583.@tag
attribute is allowed on macros but value cannot be retrieved with tagof #1582void!
.Stdlib changes
char[]
as StringThis discussion was created from the release Version 0.6.4.
Beta Was this translation helpful? Give feedback.
All reactions