mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 18:44:47 +01:00
Improve error message
This commit is contained in:
parent
1d36fbf1b2
commit
5ea58e30f8
@ -200,7 +200,7 @@ class LocaleVariableManager {
|
||||
// set the more specific type
|
||||
} else {
|
||||
throw new WasmException( "Redefine local variable '" + var.name + "' type from " + var.valueType + " to " + valueType + " in slot "
|
||||
+ slot, null, null, -1 );
|
||||
+ slot + ". Compile the Java code with debug information to correct this problem.", null, null, -1 );
|
||||
}
|
||||
}
|
||||
var.valueType = valueType;
|
||||
|
Loading…
x
Reference in New Issue
Block a user