summary refs log tree commit diff stats
path: root/compiler/semdata.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-08-11 14:50:46 +0200
committerGitHub <noreply@github.com>2020-08-11 14:50:46 +0200
commit813f16a2a39f1375b241cf50845f641ea44d890e (patch)
treea5c45d5ead15167ded8d9d9dcef87dbf52013a38 /compiler/semdata.nim
parent963db9e7dac39f4238f013addfae36439318b67f (diff)
parentb022576ce96f5c166c7f5684bef9de682704cb1b (diff)
downloadNim-813f16a2a39f1375b241cf50845f641ea44d890e.tar.gz
Fix #8473 (#15169)
* Make explicit {.nimcall.} a seperate calling convention

* Add testcase for #5688

* Fix bootstrapping

* Remove little lies :)

* Use typeflag instead
Diffstat (limited to 'compiler/semdata.nim')
-rw-r--r--compiler/semdata.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semdata.nim b/compiler/semdata.nim
index 5bd6c4cf2..b99ddcba3 100644
--- a/compiler/semdata.nim
+++ b/compiler/semdata.nim
@@ -212,7 +212,7 @@ proc considerGenSyms*(c: PContext; n: PNode) =
 proc newOptionEntry*(conf: ConfigRef): POptionEntry =
   new(result)
   result.options = conf.options
-  result.defaultCC = ccDefault
+  result.defaultCC = ccNimCall
   result.dynlib = nil
   result.notes = conf.notes
   result.warningAsErrors = conf.warningAsErrors