Nim/tests/statictypes
Vindaar d9ee377517 fix #10339 by returning type attached to nkEmpty (#10370)
* fix #10339 by checking for nkObjConstr

* revert check for nkObjConstr, return type from nkEmpty node

The correct type needed in `semObjConstr` to fix #10339 is indeed
available, but attached to an `nkEmpty` node. These were previously
discarded in `semTypeNode`, which is used to extract the type for the
object.

* simplify return of PType from  `nkEmpty`

* also fixes #9866, add test case
2019-01-23 11:17:32 +01:00
..
t3784.nim close #3784 2017-06-20 11:29:42 +02:00
t9255.nim lots of small changes 2018-12-11 21:23:22 +01:00
tcryptodigest.nim Static[T] fixes (#7333) 2018-03-24 15:28:09 +01:00
texplicitprocparams.nim close #1051 2017-06-20 11:29:42 +02:00
tpassthruarith.nim close #4524 2017-06-20 11:29:42 +02:00
tstackmatrix.nim fixes #6843 2018-04-06 13:10:22 +02:00
tstaticimportcpp.nim Fix template codegen with static parameters (#8110) 2018-06-27 22:46:46 +02:00
tstatictypes.nim fix #10339 by returning type attached to nkEmpty (#10370) 2019-01-23 11:17:32 +01:00