← Back to index
|
Original Bugzilla link
Bug 7614 – Spec says pragma(msg) only accepts strings, but it accepts anything
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-02-29T14:18:00Z
Last change time
2015-06-09T05:11:46Z
Keywords
spec
Assigned to
nobody
Creator
clugdbug
Comments
Comment #0
by clugdbug — 2012-02-29T14:18:07Z
So for example pragma(msg, 4, "abc", 4.5); works as expected. I think this behaviour is useful, but it's not in the spec.
Comment #1
by github-bugzilla — 2012-12-02T17:10:34Z
Commits pushed to master at
https://github.com/D-Programming-Language/d-programming-language.org
https://github.com/D-Programming-Language/d-programming-language.org/commit/34a917387d3ac333ff1e3674e04ce528356c5e1e
Fixes Issue 7614 - pragma(msg) accepts any type.
https://github.com/D-Programming-Language/d-programming-language.org/commit/529232d6c5a2a3dd30780b511f13bbbf20aa512b
Merge pull request #204 from AndrejMitrovic/Fix7614 [triv, spec] Issue 7614 - pragma(msg) accepts any type.