[FIR] KT-56846: Unwrap SourceCodeAnalysisException on transformFile
^KT-56846 Fixed Merge-request: KT-MR-9065 Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
7b04201e77
commit
a2e2a96fd3
@@ -172,7 +172,7 @@ object FirCliExceptionHandler : FirExceptionHandler() {
|
||||
override fun handleExceptionOnFileAnalysis(file: FirFile, throwable: Throwable): Nothing {
|
||||
throw throwable.wrapIntoFileAnalysisExceptionIfNeeded(
|
||||
file.sourceFile?.path,
|
||||
file.source
|
||||
file.source,
|
||||
) { file.sourceFileLinesMapping?.getLineAndColumnByOffset(it) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user