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
-
C3 version 0.6.7
Changes / improvements
win-debug
setting to be able to pick dwarf for output Add -gdwarf option for windows #1855.c3c project view
to filter displayed properties+++
to work on all types of arrays.(int[*]) { 1, 2 }
cast style initialization.[*]
to[?]
default
case.$c[1] += 3
$ct[1]++ and $ct[1] += 1 doesn't work. #1890.inline
to 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
@const
where the statement$foo = 1;
was not considered constant.linux-crt
andlinux-crtbegin
not getting recognized as a project paramater$exec
output from\r
, which otherwise would cause a compiler assert Unexpected error when script output includes line breaks #1867.@jump
enum switch #1877.@body(Enum $e)
#1879.default
or onlydefault
switch @jump
with onlydefault:
causes compiler error #1893switch @jump
over an integer with emptydefault:
case causes compiler segfault #1894@jump
strange issue withswitch @jump
called inside a macro called from a case in anotherswitch @jump
#1896.for(;;) statement;
on different line #1892.defer
is broken when placed before a$foreach
#1912.@noreturn
macro is type-checked as if it returns #1913.z <<= { 1, 2 }
.return (any)&foo
would not be reported as an escaping variable iffoo
was a pointer or slice.int
insidefor
loop declaration. #1942.bigint::from_int(0)
throws assertion std::math::bigint::from_int(0) throws assertion #1944.write
of qoi would leak memory.Path
or just "."set_env
would leak memory.poll
andPOLL_FOREVER
.String! a; char* b = a.ptr;
would incorrectly be allowed.Stdlib changes
__powidf2
std::core::test
module for unit testing machinery.fmodf
.@select
to perform the equivalent ofa ? x : y
at compile time.HashMap
is nowPrintable
.allocator::wrap
to 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