https://issues.dlang.org/show_bug.cgi?id=24792
Issue ID: 24792
Summary: is expression doesn't seem to correctly handle
function attributes
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
This shouldn't emit `true`:
alias Fun = void function(int);
pragma(msg, is(Fun : RT function(Args) nothrow @nogc, RT, Args...));
The function pointer Fun should not say it's convertible to a nothrow @nogc
function pointer; because it's not!
--