Files
Nim/tests/macros
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
..
2015-02-01 04:37:34 -06:00
2017-07-25 09:28:23 +02:00
2017-07-25 09:28:23 +02:00
2016-12-20 22:42:25 +01:00
2018-11-07 08:40:00 +01:00
2018-10-18 15:39:22 +02:00
2017-07-25 09:28:23 +02:00
2017-07-25 09:28:23 +02:00
2018-12-11 21:23:22 +01:00
2017-07-25 09:28:23 +02:00
2017-07-25 09:28:23 +02:00
2018-12-11 21:23:21 +01:00
2018-06-11 01:23:14 +02:00
2018-08-24 09:57:38 +02:00
2018-11-09 12:15:00 +01:00
2017-07-25 09:28:23 +02:00
2017-07-25 09:28:23 +02:00
2018-12-11 21:23:25 +01:00
2017-07-25 09:28:23 +02:00
2019-01-13 17:19:36 +01:00
2017-10-01 07:46:13 +02:00
2018-01-18 11:40:18 +01:00
2017-07-25 09:28:23 +02:00