refactor(linter/no-useless-error-capture-stack-trace): use IdentifierReference::reference_id over cell access#19495
Conversation
IdentifierReference::reference_id over cell acessIdentifierReference::reference_id over cell access
There was a problem hiding this comment.
Pull request overview
Refactors the unicorn/no-useless-error-capture-stack-trace linter rule to use the post-semantic AST accessor IdentifierReference::reference_id() (instead of accessing the internal cell) when resolving identifier references via scoping.
Changes:
- Replace
ident.reference_id.get()Option-unwrapping withident.reference_id()accessor when looking up the symbol for an identifier reference. - Remove trailing whitespace in multi-line fixer expected-output test strings.
29badc8 to
f365870
Compare
Merging this PR will not alter performance
Comparing Footnotes
|
57aeef8 to
d037ad4
Compare
f365870 to
00cb3ba
Compare
d037ad4 to
784509b
Compare
00cb3ba to
ba92b3e
Compare
784509b to
2e7fa91
Compare
ba92b3e to
3cf235d
Compare
Merge activity
|
…rReference::reference_id` over cell access (#19495)
2e7fa91 to
40f047f
Compare
3cf235d to
0a8764b
Compare

No description provided.