[FE 1.0] Add compiler flag for rendering internal diagnostic names in error messages
This commit is contained in:
committed by
TeamCityServer
parent
b9c22a5e5e
commit
dd953908df
+1
-1
@@ -59,7 +59,7 @@ class JsCoreScriptingCompiler(
|
||||
|
||||
val analyzerEngine = JsReplCodeAnalyzer(environment, dependencyDescriptors, analyzerState)
|
||||
val analysisResult = analyzerEngine.analyzeReplLine(snippetKtFile, codeLine).also {
|
||||
AnalyzerWithCompilerReport.reportDiagnostics(it.bindingContext.diagnostics, messageCollector)
|
||||
AnalyzerWithCompilerReport.reportDiagnostics(it.bindingContext.diagnostics, messageCollector, renderInternalDiagnosticName = false)
|
||||
if (messageCollector.hasErrors()) return ReplCompileResult.Error("Error while analysis")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user