← Back to index
|
Original Bugzilla link
Bug 9380 – deprecated statement string expression is too limited
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-01-23T17:14:00Z
Last change time
2016-08-27T22:59:12Z
Assigned to
nobody
Creator
andrej.mitrovich
Comments
Comment #0
by andrej.mitrovich — 2013-01-23T17:14:03Z
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()'
Comment #1
by andrej.mitrovich — 2016-08-27T22:59:12Z
Fixed in git-head recently.