added system.default in order to prevent the abstraction inversion that 'template default(T): untyped = (var x: T; x)' causes
This commit is contained in:
parent
2dc8a32324
commit
142a2d3551
7 changed files with 50 additions and 11 deletions
|
|
@ -85,6 +85,7 @@ proc initDefines*(symbols: StringTableRef) =
|
|||
defineSymbol("nimHasHotCodeReloading")
|
||||
defineSymbol("nimHasNilSeqs")
|
||||
defineSymbol("nimHasSignatureHashInMacro")
|
||||
defineSymbol("nimHasDefault")
|
||||
for f in low(Feature)..high(Feature):
|
||||
defineSymbol("nimHas" & $f)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue