From a language server session
internal/ast.(*Node).AsObjectLiteralExpression()
internal/ast/ast_generated.go:9230
internal/tsoptions.getTsConfigObjectLiteralExpression()
internal/tsoptions/tsconfigparsing.go:1505
internal/tsoptions.ForEachTsConfigPropArray[...]()
internal/tsoptions/tsconfigparsing.go:1454
internal/compiler.(*includeProcessor).getCompilerOptionsObjectLiteralSyntax.func1()
internal/compiler/includeprocessor.go:102
...
internal/compiler.(*includeProcessor).getCompilerOptionsObjectLiteralSyntax()
internal/compiler/includeprocessor.go:99
internal/compiler.(*FileIncludeReason).toRelatedInfo()
internal/compiler/fileInclude.go:282
internal/compiler.(*includeProcessor).getRelatedInfo()
internal/compiler/includeprocessor.go:119
internal/compiler.(*processingDiagnostic).createDiagnosticExplainingFile.func1()
internal/compiler/processingDiagnostic.go:84
internal/compiler.(*processingDiagnostic).createDiagnosticExplainingFile.func2()
internal/compiler/processingDiagnostic.go:95
internal/compiler.(*processingDiagnostic).createDiagnosticExplainingFile()
internal/compiler/processingDiagnostic.go:109
internal/compiler.(*processingDiagnostic).toDiagnostic()
internal/compiler/processingDiagnostic.go:63
internal/compiler.(*includeProcessor).getDiagnostics.func1()
internal/compiler/includeprocessor.go:39
(REDACTED FRAME)
(REDACTED FRAME)
(REDACTED FRAME)
(REDACTED FRAME)
internal/compiler.(*includeProcessor).getDiagnostics()
internal/compiler/includeprocessor.go:36
internal/compiler.(*Program).GetIncludeProcessorDiagnostics()
internal/compiler/program.go:655
internal/compiler.(*Program).getSemanticDiagnosticsWithChecker()
internal/compiler/program.go:1291
internal/compiler.(*Program).collectCheckerDiagnostics()
internal/compiler/program.go:541
internal/compiler.(*Program).GetSemanticDiagnostics()
internal/compiler/program.go:628
internal/ls.getAllDiagnostics()
internal/ls/diagnostics.go:17
internal/ls.(*LanguageService).ProvideDiagnostics()
internal/ls/diagnostics.go:28
Looks like an issue where maybe tsconfig.json was malformed. A compiler test would be ideal, but a fourslash test would be fine too.
From a language server session
Looks like an issue where maybe tsconfig.json was malformed. A compiler test would be ideal, but a fourslash test would be fine too.