* fixes `@[]` type inference in generics * add issue links * fixes macros and iterators * refactor * add one more test
This commit is contained in:
parent
2d9af2bd55
commit
64a0355f3f
4 changed files with 51 additions and 5 deletions
|
|
@ -998,7 +998,7 @@ proc afterCallActions(c: PContext; n, orig: PNode, flags: TExprFlags; expectedTy
|
|||
fixAbstractType(c, result)
|
||||
analyseIfAddressTakenInCall(c, result)
|
||||
if callee.magic != mNone:
|
||||
result = magicsAfterOverloadResolution(c, result, flags)
|
||||
result = magicsAfterOverloadResolution(c, result, flags, expectedType)
|
||||
when false:
|
||||
if result.typ != nil and
|
||||
not (result.typ.kind == tySequence and result.typ[0].kind == tyEmpty):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue