diff options
Diffstat (limited to 'src/parsing.h')
-rw-r--r-- | src/parsing.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parsing.h b/src/parsing.h index 663b901fd..d809cbedd 100644 --- a/src/parsing.h +++ b/src/parsing.h @@ -266,6 +266,7 @@ parseConst(cashew::IString s, Type type, MixedArena& allocator) { case Type::funcref: case Type::externref: case Type::exnref: + case Type::anyref: WASM_UNREACHABLE("unexpected const type"); case Type::none: case Type::unreachable: { |