use getTypeForm()

This commit is contained in:
Volker Berlin 2019-01-11 19:38:12 +01:00
parent b619d77ad1
commit ace7c2cdfb

View File

@ -31,7 +31,7 @@ abstract class TypeEntry extends SectionEntry {
*/
@Override
final void writeSectionEntry( WasmOutputStream stream ) throws IOException {
stream.writeValueType( ValueType.func );
stream.writeValueType( getTypeForm() );
writeSectionEntryDetails( stream );
}