diff options
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
-rw-r--r-- | src/wasm/wasm-validator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm-validator.cpp b/src/wasm/wasm-validator.cpp index edcf3676d..745ce8c06 100644 --- a/src/wasm/wasm-validator.cpp +++ b/src/wasm/wasm-validator.cpp @@ -2237,7 +2237,7 @@ void FunctionValidator::visitBrOnCast(BrOnCast* curr) { curr->castType.getHeapType(), curr, "br_on_cast rtt must have the proper heap type"); - noteBreak(curr->name, Type(curr->rtt->type.getHeapType(), Nullable), curr); + noteBreak(curr->name, curr->castType, curr); } } |