bors 1a318965fe Auto merge of #14353 - lowr:fix/inline-call-bad-ast, r=Veykril
fix: don't replace `SyntaxToken` with `SyntaxNode`

Fixes #14339

When we inline method calls, we replace the `self` parameter with a local variable `this`. We have been replacing the `self` **tokens** with `NameRef` **nodes**, which makes the AST malformed. This leads to crash when we apply path transformation after the replacement (which only takes place when the method is generic and such scenario was not tested).
2023-03-15 09:32:34 +00:00
..
2023-03-13 10:42:24 +02:00
2023-03-13 16:49:38 +01:00
2023-03-14 20:22:11 +01:00
2023-03-14 19:55:20 +01:00
2023-03-13 10:42:24 +02:00
2023-02-20 10:14:12 +02:00
2023-02-20 10:14:12 +02:00
2023-02-20 10:14:12 +02:00
2023-03-14 19:20:44 +01:00
2023-03-13 10:42:24 +02:00