summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-12-30 01:51:37 +0100
committerAraq <rumpf_a@web.de>2016-12-30 01:51:37 +0100
commit45001632cef209269815bc4c8ae6af10f8c6a161 (patch)
tree5f0c57493edbd33b87deff62d21b088ecbb9261b /compiler
parent020b41e29495838f962dfb7f58a15a55e8b8b562 (diff)
downloadNim-45001632cef209269815bc4c8ae6af10f8c6a161.tar.gz
fixes #3848
Diffstat (limited to 'compiler')
-rw-r--r--compiler/pragmas.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/pragmas.nim b/compiler/pragmas.nim
index b9f00399e..a21705208 100644
--- a/compiler/pragmas.nim
+++ b/compiler/pragmas.nim
@@ -27,7 +27,7 @@ const
     wGensym, wInject, wRaises, wTags, wLocks, wDelegator, wGcSafe,
     wOverride, wConstructor, wExportNims}
   converterPragmas* = procPragmas
-  methodPragmas* = procPragmas+{wBase}
+  methodPragmas* = procPragmas+{wBase}-{wImportCpp}
   templatePragmas* = {wImmediate, wDeprecated, wError, wGensym, wInject, wDirty,
     wDelegator, wExportNims}
   macroPragmas* = {FirstCallConv..LastCallConv, wImmediate, wImportc, wExportc,