Macros: path dependent type inference confusion

戏子无情 提交于 2019-12-01 08:59:27

Constructors are not currently allowed to have dependent method types (SI-5712). It's on the radar to be fixed, hopefully for 2.10.1 or 2.11.

In the meantime, you can follow the pattern I used in macrocosm to reuse code within macro implementations.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!