diff options
Diffstat (limited to 'src/wast-parser.cc')
-rw-r--r-- | src/wast-parser.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wast-parser.cc b/src/wast-parser.cc index 7da3797a..89ba7b6b 100644 --- a/src/wast-parser.cc +++ b/src/wast-parser.cc @@ -904,7 +904,8 @@ Result WastParser::ParseValueType(Var* out_type) { const bool is_value_type = PeekMatch(TokenType::ValueType); if (!is_value_type && !is_ref_type) { - return ErrorExpected({"i32", "i64", "f32", "f64", "v128", "externref"}); + return ErrorExpected( + {"i32", "i64", "f32", "f64", "v128", "externref", "funcref"}); } if (is_ref_type) { |