Opened 6 years ago

Closed 6 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:


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 6 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.