Summary: is(int*==int*); and template X(T : int*=int*) should
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-09-01 10:04:51 PDT ---
is(int*==int*) / template X(T : int*=int*) do not compile because they are
tokenized as

is ( int *= = int *)
template X ( T : int *= int * )

The parser could explicitly check for the *= = token combination / the *=
What this would add is that the compiler can actually parse all programs
generated from the D grammar. It would solve a similar language problem C++98
had with the X<Y<int>>.

I think this should not add more than 10 LOC to the parser in total.

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

Reply via email to