diff options
author | Arne Döring <arne.doering@gmx.net> | 2019-05-29 22:21:51 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-05-29 22:21:51 +0200 |
commit | 5b27b263fd76484fa6251ccd29520c2764b55818 (patch) | |
tree | 0629164266d4183ace4503d77f0d2a999fc9693f /compiler/vmgen.nim | |
parent | eb471acffb02ebb14ada8483f8c8043a1c8e8210 (diff) | |
download | Nim-5b27b263fd76484fa6251ccd29520c2764b55818.tar.gz |
Remove immediate pragma (#11308)
* remove immediate from tests * remove immediate from the compiler
Diffstat (limited to 'compiler/vmgen.nim')
-rw-r--r-- | compiler/vmgen.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/vmgen.nim b/compiler/vmgen.nim index 6fe51dba6..035ab25cd 100644 --- a/compiler/vmgen.nim +++ b/compiler/vmgen.nim @@ -2242,9 +2242,7 @@ proc genProc(c: PCtx; s: PSym): int = genParams(c, s.typ.n) # allocate additional space for any generically bound parameters - if s.kind == skMacro and - sfImmediate notin s.flags and - s.ast[genericParamsPos].kind != nkEmpty: + if s.kind == skMacro and s.ast[genericParamsPos].kind != nkEmpty: genGenericParams(c, s.ast[genericParamsPos]) if tfCapturesEnv in s.typ.flags: |