8 ms·
Do you have an example? I'm struggling to think of such a case where ! is ambiguous between a end of macro call and the Never type.
by tyushk 4d ago
Do you have an example? I'm struggling to think of such a case where ! is ambiguous between a end of macro call and the Never type.
- Sharlin 4d agoPedantically, the phrasing in the article is incorrect because macro invocations are permissible in type positions. But as you said, the macro invocation syntax is nevertheless not ambiguous with !-as-type (or !-as-operator for that matter).