[Issue 12047] Regression (2.065 git-head): UDAs are not checked

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 31 09:14:31 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12047



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-01-31 09:14:30 PST ---
Ok this is even more serious than I thought:

-----
template portable(alias func)
{
    pragma(msg, "We're here");
}

@portable!foo
void foo(...) { }

void main() { }
-----

2.064:
$ dmd test.d
> We're here

2.065 git-head:
$ dmd test.d
> 

The template is not being instantiated.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list