[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
@@ -129,7 +129,7 @@ class KJvmReplCompilerWithIdeServices(hostConfiguration: ScriptingHostConfigurat
|
||||
val analyzerEngine = compilationState.analyzerEngine as IdeLikeReplCodeAnalyzer
|
||||
val analysisResult =
|
||||
analyzerEngine.statelessAnalyzeWithImportedScripts(snippetKtFile, emptyList(), state.getNextLineNo() + 1)
|
||||
AnalyzerWithCompilerReport.reportDiagnostics(analysisResult.diagnostics, errorHolder)
|
||||
AnalyzerWithCompilerReport.reportDiagnostics(analysisResult.diagnostics, errorHolder, renderDiagnosticName = false)
|
||||
|
||||
val (_, bindingContext, resolutionFacade, moduleDescriptor, resultProperty) = when (analysisResult) {
|
||||
is IdeLikeReplCodeAnalyzer.ReplLineAnalysisResultWithStateless.Stateless -> {
|
||||
|
||||
Reference in New Issue
Block a user