Summary: Wrong error message from pragma(msg) of failed
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-10-07 15:41:00 PDT ---
This is wrong D2 code (there is no foo):

void main() {
    enum int x = 1;
    pragma(msg, foo!x);

DMD 2.056head gives a partially wrong error message, that contains a "__error":

test.d(3): Error: template instance foo!(x) template 'foo' is not defined

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

Reply via email to