cast only to AnyType

This commit is contained in:
Volker Berlin 2019-08-04 18:47:02 +02:00
parent 5a08ecf122
commit fd24d852ee

View File

@ -94,9 +94,9 @@ class WasmBlockInstruction extends WasmInstruction {
AnyType getPushValueType() {
switch( op ) {
case IF:
return data != ValueType.empty ? (ValueType)data : null;
return data != ValueType.empty ? (AnyType)data : null;
case RETURN:
return (ValueType)data;
return (AnyType)data;
default:
return null;
}