Improved support for nkSymChoices in type coercions
For example, this allows you to pick up a proc with a specific signature from an overload set. bugfix: nimrod generated invalid code when a RVO function had a single compile-time param bugfix: nkHiddenDerefs were not neutralised properly for indirect proc calls
This commit is contained in:
parent
7424a60ba1
commit
3c9e3a6a71
5 changed files with 147 additions and 51 deletions
|
|
@ -715,6 +715,7 @@ const
|
|||
nkCommand, nkCallStrLit}
|
||||
|
||||
nkLambdaKinds* = {nkLambda, nkDo}
|
||||
nkSymChoices* = {nkClosedSymChoice, nkOpenSymChoice}
|
||||
|
||||
skLocalVars* = {skVar, skLet, skForVar, skParam}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue