SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 117 JavaScript

[rust-compiler] Fix range accumulation bug in AlignMethodCallScopes

Fix incorrect range accumulation when 3+ scopes merge to the same root.
The old Vec-based approach could overwrite intermediate range updates.
Use HashMap accumulation pattern matching align_object_method_scopes.
Also use find_opt() instead of find() to match TS null-returning semantics.
J
Joe Savona committed
003df5cf0da54409477859a25bb72af3fc563104
Parent: 9dfe047