aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/interp/compiler.boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interp/compiler.boot b/src/interp/compiler.boot
index d14a7247..b64c843c 100644
--- a/src/interp/compiler.boot
+++ b/src/interp/compiler.boot
@@ -1546,7 +1546,7 @@ checkExternalEntity(id,type,lang,e) ==
type' isnt [=bootDenotation "%Mapping",:.] =>
stackAndThrow('"Signature for external entity must be a Mapping type",nil)
id' := encodeLocalFunctionName id
- [def] := genImportDeclaration(id',[bootDenotation "%Signature",id,type'])
+ [def] := genImportDeclaration(id',[bootDenotation "%Signature",id,type'], ["Foreign", lang])
apply($backend,[def])
id'