Skip to content

Improved Kotlin Inline Variable refactoring - #135

Merged
oleg68 merged 1 commit into
nbplugins:mainfrom
oleg68:feature/f3-inline-mutable-variable
Aug 26, 2026
Merged

oleg68 merged 1 commit into
nbplugins:mainfrom
oleg68:feature/f3-inline-mutable-variable

Conversation

@oleg68

@oleg68 oleg68 commented Aug 26, 2026

Copy link
Copy Markdown

Summary

  • allow safe local var declarations with a single initializer to be inlined
  • resolve Inline targets from declarations, usages, and selected identifiers
  • reject mutations before editing and identify the conflicting expression

Validation

  • mvn clean test — 793 tests passed
  • mvn clean package -DskipTests — passed
  • manually verified Inline Variable invocation and mutation diagnostics

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@oleg68
oleg68 merged commit 5d8e977 into nbplugins:main Aug 26, 2026
4 checks passed
@oleg68
oleg68 deleted the feature/f3-inline-mutable-variable branch August 26, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant