[Issue 23797] Improve type-testing `is` expressions

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23797

--- Comment #1 from Bolpat  ---
As for the right-hand side of `is(Type == Keyword)` for function pointer and
delegate types, it also makes sense to ask if they’re carrying attributes. The
keyword attributes should be allowed, but I think also user-defined ones should
be allowed. Also visibility can be allowed for any symbols.

The same for the simplified `is …` syntax. `DG is @nogc` is clear to read.

--


[Issue 23797] Improve type-testing `is` expressions

2023-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23797

Bolpat  changed:

   What|Removed |Added

   Priority|P1  |P4
 CC||qs.il.paperi...@gmail.com

--