Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
At first I was quite confused about the language test changes: Nothing changes except that some error messages (e.g., about static/instance member conflicts) are no longer reported, and other error messages are more informative than they used to be. However, Chloe explained that this CL is about a rather large scale refactoring, and the changes in error messaging isn't the point (and the disappearing messages will be restored later as needed).
So LGTM.
// [cfe] Conflicts with setter 'field2'.
I don't quite understand why this error would disappear, or why this declaration would conflict with the setter named `field2` (line 82 on the right hand side of the diff) and not with the getter (line 78).
Or does the error message mean "something whose name shall remain unspoken creates 'conflicts with setter `field2`', which is a reference to the implicitly induced setter of the variable declared on line 60?
Anyway, I'm confused. ;-)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// [cfe] Conflicts with setter 'field2'.
I don't quite understand why this error would disappear, or why this declaration would conflict with the setter named `field2` (line 82 on the right hand side of the diff) and not with the getter (line 78).
Or does the error message mean "something whose name shall remain unspoken creates 'conflicts with setter `field2`', which is a reference to the implicitly induced setter of the variable declared on line 60?
Anyway, I'm confused. ;-)
The change makes it so that an error is reported on the second occurrence and the first is used as context. Previously we reported error on both. So for this case we previously had an error on lines 60 and 80, whereas now we have an error on line 80 and the context on line 60. This means that conflicts with setters now are reported similar to duplicate declarations. Unfortunately the static error test doesn't show the context making it look like we no longer report the error in one of the cases.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// [cfe] Conflicts with setter 'field2'.
Johnni WintherI don't quite understand why this error would disappear, or why this declaration would conflict with the setter named `field2` (line 82 on the right hand side of the diff) and not with the getter (line 78).
Or does the error message mean "something whose name shall remain unspoken creates 'conflicts with setter `field2`', which is a reference to the implicitly induced setter of the variable declared on line 60?
Anyway, I'm confused. ;-)
The change makes it so that an error is reported on the second occurrence and the first is used as context. Previously we reported error on both. So for this case we previously had an error on lines 60 and 80, whereas now we have an error on line 80 and the context on line 60. This means that conflicts with setters now are reported similar to duplicate declarations. Unfortunately the static error test doesn't show the context making it look like we no longer report the error in one of the cases.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
PRA (=Please Re-Approve) - Gerrit stabbed us in the back again.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[cfe] Add _PreBuilder
This moves the checking of duplicates, member/setter, and static/instance conflicts to a _PreBuilder.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |