Skip to content

Commit 6cd866f

Browse files
eamonnmcmanusJavac Team
authored andcommitted
Fix a minor typo.
PiperOrigin-RevId: 846257658
1 parent 70f2166 commit 6cd866f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

javatests/com/google/turbine/binder/BinderErrorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)