mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-11 19:15:55 +02:00
* Fix error when no import extensions registered
This commit is contained in:
parent
6e6647b2c0
commit
2d3fbefd0a
@ -458,6 +458,7 @@ Var
|
||||
|
||||
begin
|
||||
aObject[WASIImportName]:=ImportObject;
|
||||
if Assigned(FImportExtensions) then
|
||||
For I:=0 to FImportExtensions.Count-1 do
|
||||
begin
|
||||
Ext:=TImportExtension(FImportExtensions[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user