You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If constructor has a parameter with the same name as a field referenced in an initializer expression, an unknown (underline) semantic highlight is shown incorrectly.
abstractclassA {
protectedfinalString field
protectedA(Stringfield) {
this.field = field
}
}
classBextends A {
Map map = [key: field] // field shown as unknown due to repeat visit of expression as part of ctorB(String field) {
super(field)
}
}
The text was updated successfully, but these errors were encountered:
If constructor has a parameter with the same name as a field referenced in an initializer expression, an unknown (underline) semantic highlight is shown incorrectly.
The text was updated successfully, but these errors were encountered: