File tree Expand file tree Collapse file tree
javatests/com/google/turbine/binder Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1071,8 +1071,8 @@ public static Iterable<Object[]> parameters() {
10711071 // The diagnostic positions here are at locations where a type is being canonicalized,
10721072 // and a referenced type has a mismatch between the actual and expected type arguments.
10731073 // It would be clearer to report this at the type declaration instead of the type use,
1074- // but then we'd have to unconditionally valid all declarations instead of just noticing
1075- // the errors that affect canonicalization, so we do less work and produce slightly worse
1074+ // but then we'd have to unconditionally validate all declarations instead of just noticing
1075+ // the errors that affect canonicalization. So we do less work and produce slightly worse
10761076 // diagnostics. Hopefully including the type name in the diagnostic is clear enough. This
10771077 // could be revisited if there are reports that these diagnostics are confusing.
10781078 {
You can’t perform that action at this time.
0 commit comments