Don <> changed:

           What    |Removed                     |Added
           Keywords|spec                        |accepts-invalid
            Summary|char[] template value       |char[] incorrectly accepted
                   |arguments broken in D2      |as a template value
                   |                            |argument in D2
           Severity|major                       |normal

--- Comment #3 from Don <> 2009-09-22 03:04:52 PDT ---
Here's a test case which illustrates the problem better.

int foo(char[])() { return 0; }

bug.d(1): identifier expected for template value parameter

So it clearly thinks it is a template value parameter, but it's impossible in
D2 to have a char[] compile-time value! It must be immutable(char)[].

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

Reply via email to