mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Dev (#500)
Single code path for kind/inner/len/sizeof on type and typeid. Fix of #493. Bump to 0.2.24. Remove ´func´ deprecated keyword. Unify builtin access. Enum and fault name reflection.
This commit is contained in:
committed by
GitHub
parent
cc1bc58ed0
commit
cdff5c3e26
@@ -268,9 +268,9 @@ macro void String.append(String* str, value)
|
||||
$case Char32:
|
||||
str.append_char32(value);
|
||||
$default:
|
||||
$if ($convertable($Type, Char32)):
|
||||
$if ($convertible($Type, Char32)):
|
||||
str.append_char32(value);
|
||||
$elif ($convertable($Type, char[])):
|
||||
$elif ($convertible($Type, char[])):
|
||||
str.append_chars(value);
|
||||
$else:
|
||||
$assert("Unsupported type for appending");
|
||||
|
||||
Reference in New Issue
Block a user