mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
The writer must be prepared before the types are written.
This commit is contained in:
parent
8ce6c1d919
commit
bf0b43fd1a
@ -371,10 +371,10 @@ public class ModuleGenerator {
|
||||
types.scanTypeHierarchy();
|
||||
|
||||
JWebAssembly.LOGGER.fine( "scan finish" );
|
||||
writer.prepareFinish();
|
||||
types.prepareFinish( writer );
|
||||
functions.prepareFinish();
|
||||
strings.prepareFinish( writer );
|
||||
writer.prepareFinish();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user