Summary: PrimaryExpression rule doesn't permit module scope
                    template instances
           Product: D
           Version: 2.040
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2

--- Comment #0 from Jerry Quinn <> 2010-02-18 16:51:22 PST 
The PrimaryExpression rule allows module scope identifiers and types but not
template instances.  Dmd 2.040 allows them, though.  So:

struct ss(S) {
  static S s;
void foo() {
  int x = .ss!(int).s;

compiles, though the grammar doesn't permit the '.' in front of ss.

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

Reply via email to