Commit Graph

2 Commits

Author SHA1 Message Date
Tagir Valeev
fd00898d32 [java-refactoring] Inline variable: fix CompilationError test; support inline at ref in the presence of compilation error
Improves IDEA-336815 "Inline variable" misleading error message when compile-errors are present

GitOrigin-RevId: 6e443a44c4ccf8a65d10f4f83665cfe2641282b0
2023-11-28 12:44:11 +00:00
Tagir Valeev
c6fbff80c0 [java-refactoring] Inline variable: improve behavior in the presence of compilation errors
1. Properly forward the AnalysisCancelledException
2. Allow inlining of never overwritten variable in the presence of syntax errors

Fixes IDEA-336815 "Inline variable" misleading error message when compile-errors are present

GitOrigin-RevId: 7510d497fce2dcd4bef38482cfadf162d47cc2c0
2023-11-02 20:34:04 +00:00