Skip to content

Commit c29cd8e

Browse files
committed
Also comment in suggestion diags
1 parent d89203b commit c29cd8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/compiler/program.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,7 @@ func (p *Program) getSuggestionDiagnosticsForFile(ctx context.Context, sourceFil
11341134
fileChecker, done := p.checkerPool.GetCheckerForFile(ctx, sourceFile)
11351135
defer done()
11361136

1137+
// Getting a checker will force a bind, so this will be populated.
11371138
diags := slices.Clip(sourceFile.BindSuggestionDiagnostics)
11381139
diags = append(diags, fileChecker.GetSuggestionDiagnostics(ctx, sourceFile)...)
11391140

0 commit comments

Comments
 (0)