Dorian Scheidt 21062f9201 fix: Improve suggested names for extracted variables
When extracting a field expression, if RA was unable to resolve the type of the
field, we would previously fall back to using "var_name" as the variable name.

Now, when the `Expr` being extracted matches a `FieldExpr`, we can use the
`NameRef`'s ident token as a fallback option.

fixes #10035
2022-07-08 18:35:04 -05:00
..
2022-07-08 15:44:49 +02:00
2022-06-10 17:30:02 +02:00
2022-07-03 10:09:35 +03:00
2022-07-07 00:45:22 +08:00
2022-07-08 15:44:49 +02:00
2022-07-08 15:44:49 +02:00
2022-07-08 15:44:49 +02:00
2022-06-10 17:30:02 +02:00
2022-07-03 10:09:35 +03:00
2022-07-08 15:44:49 +02:00
2022-07-03 10:14:48 +03:00
2022-07-03 10:09:35 +03:00
2022-07-08 15:44:49 +02:00
2022-07-08 15:44:49 +02:00
2022-06-15 18:35:48 +02:00
2022-07-08 15:44:49 +02:00
2022-06-10 17:30:02 +02:00
2022-06-10 17:30:02 +02:00
2022-07-03 10:09:35 +03:00
2022-07-03 09:56:58 +03:00