Skip to content

Commit

Permalink
fix dart compilation error "Error: A const constructor can't have a b…
Browse files Browse the repository at this point in the history
…ody."
  • Loading branch information
juancastillo0 committed Jun 20, 2023
1 parent 588752b commit 9da369c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ WasmVal _fromWasmValueRaw(ValueTy ty, Object? value, WasmRunModuleId module) {
);
case ValueTy.funcRef:
if (value == null) {
return const WasmVal.funcRef();
return WasmVal.funcRef();
}
return _makeFunction(value as WasmFunction, module);
}
Expand Down

0 comments on commit 9da369c

Please sign in to comment.