[Issue 9380] New: deprecated statement string expression is too limited
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 23 17:14:04 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9380
Summary: deprecated statement string expression is too limited
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-23 17:14:03 PST ---
string getStr() { return "foobar"; }
deprecated("foo" ~ "bar")
void f1() { }
deprecated(getStr())
void f2() { }
void main()
{
}
test.d(3): Error: string expected, not '"foo" ~ "bar"'
test.d(6): Error: string expected, not 'getStr()'
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list