diff options
| author | gingerBill <bill@gingerbill.org> | 2023-06-07 13:08:15 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-06-07 13:08:15 +0100 |
| commit | 349641e95f63047a5fc28b3f5358f9249da7f38a (patch) | |
| tree | 64749b7f0934ccdc140a6f30740a1ccb026b72e6 /src/exact_value.cpp | |
| parent | 9941ec85d8530b8105029e5517eeca0798c2509a (diff) | |
Fix #2572
Diffstat (limited to 'src/exact_value.cpp')
| -rw-r--r-- | src/exact_value.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp index 7d5f71d78..ff940aabb 100644 --- a/src/exact_value.cpp +++ b/src/exact_value.cpp @@ -342,9 +342,6 @@ gb_internal ExactValue exact_value_from_basic_literal(TokenKind kind, String con utf8_decode(string.text, string.len, &r); return exact_value_i64(r); } - default: - GB_PANIC("Invalid token for basic literal"); - break; } ExactValue result = {ExactValue_Invalid}; |