MCPcopy Index your code
hub / github.com/microsoft/typescript-go / blockEmittingOfFile

Method blockEmittingOfFile

internal/compiler/program.go:1225–1228  ·  view source on GitHub ↗
(emitFileName string, diag *ast.Diagnostic)

Source from the content-addressed store, hash-verified

1223}
1224
1225func (p *Program) blockEmittingOfFile(emitFileName string, diag *ast.Diagnostic) {
1226 p.hasEmitBlockingDiagnostics.Add(p.toPath(emitFileName))
1227 p.programDiagnostics = append(p.programDiagnostics, diag)
1228}
1229
1230func (p *Program) IsEmitBlocked(emitFileName string) bool {
1231 return p.hasEmitBlockingDiagnostics.Has(p.toPath(emitFileName))

Callers 1

verifyCompilerOptionsMethod · 0.95

Calls 3

toPathMethod · 0.95
AddMethod · 0.65
appendFunction · 0.50

Tested by

no test coverage detected