Closed hawkw closed 9 years ago
If Decaf doesn't support encapsulation, then when do we ever encounter a problem of the second type? (aside from maybe "this")
I...don't know?
If we can't find an example, can we ignore the second case?
We fixed this one a while ago.
From Dr. Jumadinova's handout:
Used to report problems with the dot operator. Field means either variable or method. The first message reports to an attempt to apply dot to a non-class type or access a non-existent field from a class. The last is used when the field exists but is not accessible in this context.