GetBindDiagnostics implements compiler.AnyProgram interface.
(ctx context.Context, file *ast.SourceFile)
| 131 | |
| 132 | // GetBindDiagnostics implements compiler.AnyProgram interface. |
| 133 | func (p *Program) GetBindDiagnostics(ctx context.Context, file *ast.SourceFile) []*ast.Diagnostic { |
| 134 | p.panicIfNoProgram("GetBindDiagnostics") |
| 135 | return p.program.GetBindDiagnostics(ctx, file) |
| 136 | } |
| 137 | |
| 138 | func (p *Program) GetProgramDiagnostics() []*ast.Diagnostic { |
| 139 | p.panicIfNoProgram("GetProgramDiagnostics") |
nothing calls this directly
no test coverage detected