diff options
author | Andreas Rumpf <andreasrumpf@noname> | 2009-09-23 23:38:00 +0200 |
---|---|---|
committer | Andreas Rumpf <andreasrumpf@noname> | 2009-09-23 23:38:00 +0200 |
commit | 3f3dda5a77fa8faf6d97aa5a0ed3b0fc6e8c0918 (patch) | |
tree | 81fcf664ab2abfda200061e57fa488ae17b03192 /nim/passes.pas | |
parent | 66a7e3d37c0303997a6b1a3b7ec263dfb8c07748 (diff) | |
download | Nim-3f3dda5a77fa8faf6d97aa5a0ed3b0fc6e8c0918.tar.gz |
implemented multi methods
Diffstat (limited to 'nim/passes.pas')
-rwxr-xr-x | nim/passes.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nim/passes.pas b/nim/passes.pas index f5dff3559..8d961e5d3 100755 --- a/nim/passes.pas +++ b/nim/passes.pas @@ -67,7 +67,7 @@ implementation function astNeeded(s: PSym): bool; begin - if (s.kind = skProc) + if (s.kind in [skMethod, skProc]) and ([sfCompilerProc, sfCompileTime] * s.flags = []) and (s.typ.callConv <> ccInline) and (s.ast.sons[genericParamsPos] = nil) then |