mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Exhaustive switch on enums. This addresses #838
This commit is contained in:
committed by
Christoffer Lerno
parent
8b605d9183
commit
9543fbbf1c
@@ -69,7 +69,6 @@ fn Object*! JsonParser.parse_from_token(&self, JsonTokenType token)
|
||||
case NULL: return object::new_null();
|
||||
case EOF: return JsonParsingError.EOF?;
|
||||
}
|
||||
unreachable();
|
||||
}
|
||||
fn Object*! JsonParser.parse_any(&self)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user