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