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
Uh oh!
There was an error while loading. Please reload this page.
-
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*toanyor an interface, unless it isnull.defaliased Error with symbol resolution #1559.string::new_struct_to_strandio::struct_to_formatto dump struct data.io::printwill now print structs.voidaliases as variable storage type.exec)Fixes
Unsupported int[*] $x = { 1, 2, 3, 4 }Unsupported int[*] $x = int[4] { 1, 2, 3, 4 }; #1489.copysignUnexpected compile error using a typed constant #1517-using stdin.-would reject the program.void!.voidas 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 #1561fnin interfaces. Interface parse with Assertion failed #1565if (try foo)was handled incorrectly inside a defer.&selfargument not implicitly null checked. Target object of method is not null checked #1556.(uptr)&((Foo*)null).aincorrectly inserts a null check. Taking the address of a member of a struct for a pointer that is null crashes on Windows #1544$evalis provided an invalid string.$eval("foo()")fails with messageError: Only valid types may be resolved with $evaltype.#1570HashMap.copy_keysdid not properly copy keys which needed to be allocated copy out keys also in HashMap.copy_keys #1569$definewould occasionally not properly evaluate declarations it encountered.@tagerrors when using@tagto give a type definition a tag value of its own type #1583.@tagattribute 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