[Issue 12160] UDA related regressions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 14 10:30:07 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12160
Etienne <etcimon at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |etcimon at gmail.com
--- Comment #4 from Etienne <etcimon at gmail.com> 2014-02-14 10:30:05 PST ---
To be more precise, declarations inside unittest { } are not included in the
scope of the new UDA semantic analysis.
pass:
int foo()
{
return 42;
}
unittest
{
@before!foo("name1")
}
fail:
unittest
{
int foo()
{
return 42;
}
@before!foo("name1")
}
--
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