Summary: Certain CTF can't be evaluated anymore
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Aziz K�ksal <> 2010-05-15 09:16:43 
PDT ---
This bug actually concerns version 1.061 (bugzilla's list is not up-to-date).

Managed to prepare a small test case:

class A {
  static uint actf(char[] s)
    return s.length;

  static assert(actf("abcd") == 4);
  pragma(msg, actf("abcd") == 4);

The static assert will trigger an error. If you comment out the pragma
statement, it will compile. The pragma is not really meaningful and doesn't
appear in my code, but I couldn't find another way to trigger the bug. If this
is fixed, I believe my code will work, too.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to