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 22d45de07..68c94c4a6 100644 --- a/src/parsing.h +++ b/src/parsing.h @@ -268,6 +268,7 @@ parseConst(cashew::IString s, Type type, MixedArena& allocator) { case Type::anyref: case Type::eqref: case Type::i31ref: + case Type::dataref: WASM_UNREACHABLE("unexpected const type"); case Type::none: case Type::unreachable: { |