getSemanticDiagnostics
abstract fun getSemanticDiagnostics(sourceFile: SourceFile = definedExternally, cancellationToken: CancellationToken = definedExternally): ReadonlyArray<Diagnostic>(source)
The first time this is called, it will return global diagnostics (no location).