|
@@ -2783,7 +2783,7 @@ implementation
|
|
|
InputError('Error reading symbol type from the WASM_SYMBOL_TABLE subsection of the ''linking'' section');
|
|
|
exit;
|
|
|
end;
|
|
|
- if (SymKindB<Low(Ord(TWasmSymbolType))) or (SymKindB>High(Ord(TWasmSymbolType))) then
|
|
|
+ if SymKindB>High(Ord(TWasmSymbolType)) then
|
|
|
begin
|
|
|
InputError('Unsupported symbol type from the WASM_SYMBOL_TABLE subsection of the ''linking'' section');
|
|
|
exit;
|