mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +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
|
// set the more specific type
|
||||||
} else {
|
} else {
|
||||||
throw new WasmException( "Redefine local variable '" + var.name + "' type from " + var.valueType + " to " + valueType + " in slot "
|
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;
|
var.valueType = valueType;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user