-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug related to assigning to declared vals inside null-check bra…
…nches (#1851) ### What's done: - Fixed bug related to case when `if-else` block inside `init` or `run`, `with`, `apply` blocks and there is more than one statement inside `else` block. This case leads to kotlin compilation error after adding `run` block instead of `else` block. Read https://youtrack.jetbrains.com/issue/KT-64174 for more information. - Added new warning tests. Closes #1844
- Loading branch information
Showing
2 changed files
with
186 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters