Opened 4 years ago

Closed 4 years ago

#65 closed defect (fixed)

Member expression qualifiers are wrong

Reported by: Rob Schluntz Owned by: Rob Schluntz
Priority: major Component: cfa-cc
Version: 1.0 Keywords:
Cc:

Description

This compiles, but shouldn't:

struct S {
  int x;
};

int main() {
  const S s;
  s.x = 0;
}

s.x currently has type int, but should be const int.

Change History (1)

comment:1 Changed 4 years ago by Rob Schluntz <rschlunt@…>

Resolution: fixed
Status: assignedclosed

In 487845d:

Add aggregate qualifiers to MemberExpr? type [fixes #65]

Note: See TracTickets for help on using tickets.