allow 'mixin' in generics
This commit is contained in:
parent
8717742f00
commit
9bbf56bdbb
6 changed files with 84 additions and 80 deletions
|
|
@ -240,7 +240,7 @@ elif false: # asmVersion and (defined(gcc) or defined(llvm_gcc)):
|
|||
:"%edx"
|
||||
"""
|
||||
|
||||
# Platform independant versions of the above (slower!)
|
||||
# Platform independent versions of the above (slower!)
|
||||
when not defined(addInt):
|
||||
proc addInt(a, b: int): int {.compilerProc, inline.} =
|
||||
result = a +% b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue