Skip to content

I20250727-0730

@jjohnstn jjohnstn tagged this 25 Jul 22:00
- add new getParent() method to CodeScopeBuilder.Scope
- modify SourceProvider.makeNamesUnique() method to look in parent
  scopes in addition to current scope for collisions and to only
  store new names created in the scope if we are not targetting
  a method reference which will add braces automatically
- in the case where makeNamesUnique() doesn't find the names,
  store them anyway so the next inlining of the method in the
  same scope will do the rename
- add new test to InlineMethodTests
- fixes #2376
Assets 2
Loading