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.
-
C3 version 0.6.7
Changes / improvements
win-debugsetting to be able to pick dwarf for output Add -gdwarf option for windows #1855.c3c project viewto filter displayed properties+++to work on all types of arrays.(int[*]) { 1, 2 }cast style initialization.[*]to[?]defaultcase.$c[1] += 3$ct[1]++ and $ct[1] += 1 doesn't work. #1890.inlineto enums Inline enum values #1819.fn int test() => @pool() { return 1; }short function syntax usage Trailing body macros using function bodies #1906.??type of right hand side of??not inferred #1943.Fixes
@constwhere the statement$foo = 1;was not considered constant.linux-crtandlinux-crtbeginnot getting recognized as a project paramater$execoutput from\r, which otherwise would cause a compiler assert Unexpected error when script output includes line breaks #1867.@jumpenum switch #1877.@body(Enum $e)#1879.defaultor onlydefaultswitch @jumpwith onlydefault:causes compiler error #1893switch @jumpover an integer with emptydefault:case causes compiler segfault #1894@jumpstrange issue withswitch @jumpcalled inside a macro called from a case in anotherswitch @jump#1896.for(;;) statement;on different line #1892.deferis broken when placed before a$foreach#1912.@noreturnmacro is type-checked as if it returns #1913.z <<= { 1, 2 }.return (any)&foowould not be reported as an escaping variable iffoowas a pointer or slice.intinsideforloop declaration. #1942.bigint::from_int(0)throws assertion std::math::bigint::from_int(0) throws assertion #1944.writeof qoi would leak memory.Pathor just "."set_envwould leak memory.pollandPOLL_FOREVER.String! a; char* b = a.ptr;would incorrectly be allowed.Stdlib changes
__powidf2std::core::testmodule for unit testing machinery.fmodf.@selectto perform the equivalent ofa ? x : yat compile time.HashMapis nowPrintable.allocator::wrapto create an arena allocator on the stack from bytes.This discussion was created from the release Version 0.6.7.
Beta Was this translation helpful? Give feedback.
All reactions