http://d.puremagic.com/issues/show_bug.cgi?id=3321


Ary Borenszweig <a...@esperanto.org.ar> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a...@esperanto.org.ar


--- Comment #2 from Ary Borenszweig <a...@esperanto.org.ar> 2009-09-17 04:18:53 
PDT ---
Yes, that's normal behaviour. And:

$ dmd2 -debug=ellery test

will print "hi!" if the code is:

debug(ellery) pragma(msg,"hi!");
void main() {}

I won't close this as invalid because the specification doesn't say exactly
this. It says:

---
The debug condition is satisfied when the -debug switch is thrown on the
compiler.

The debug ( Integer ) condition is satisfied when the debug level is >=
Integer.

The debug ( Identifier ) condition is satisfied when the debug identifier
matches Identifier. 
---

It should say:

The debug condition is satisfied when the -debug switch is thrown on the
compiler or when a debug level >= 1 is indicated.

(or something like that)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to