summary refs log tree commit diff stats
path: root/compiler/commands.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/commands.nim')
-rw-r--r--compiler/commands.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim
index 5601ef662..b3edb5e14 100644
--- a/compiler/commands.nim
+++ b/compiler/commands.nim
@@ -185,6 +185,7 @@ proc processSpecificNote(arg: string, state: TSpecialWord, pass: TCmdLinePass,
   of wOff:
     excl(gNotes, n)
     incl(disableNotes, n)
+    excl(ForeignPackageNotes, n)
   else: localError(info, errOnOrOffExpectedButXFound, arg)
 
 proc processCompile(filename: string) =