mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix bug in function signatures
This commit is contained in:
parent
9fd5a87a00
commit
c70ba8f16d
|
@ -54,6 +54,8 @@ public final class WasmGeneratorUtil {
|
|||
case DOUBLE:
|
||||
return WasmType.FLOAT64;
|
||||
}
|
||||
} else if (type == ValueType.VOID) {
|
||||
return null;
|
||||
}
|
||||
return WasmType.INT32;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user