mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Removal of any-switches
This commit is contained in:
@@ -479,10 +479,9 @@ fn usz! Formatter.vprintf(&self, String format, any[] anys)
|
||||
nextcase;
|
||||
case 'h':
|
||||
char[] out @noinit;
|
||||
switch (current)
|
||||
switch (current.type)
|
||||
{
|
||||
case char[]:
|
||||
out = *current;
|
||||
case ichar[]:
|
||||
out = *(char[]*)current;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user