mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +01:00
Add function signature to error message
This commit is contained in:
parent
7a7377a7ae
commit
d960ece4a7
@ -417,7 +417,7 @@ public class ModuleGenerator {
|
||||
javaCodeBuilder.buildCode( code, !method.getType().endsWith( ")V" ) );
|
||||
return javaCodeBuilder;
|
||||
} else {
|
||||
throw new WasmException( "Abstract or native method can not be used: " + new FunctionName( method ).fullName, -1 );
|
||||
throw new WasmException( "Abstract or native method can not be used: " + new FunctionName( method ).signatureName, -1 );
|
||||
}
|
||||
} catch( Exception ioex ) {
|
||||
int lineNumber = code == null ? -1 : code.getFirstLineNr();
|
||||
|
Loading…
x
Reference in New Issue
Block a user