Ryan Cavanaugh
79d3058b83
Don't crash when renaming a JS property declared via module.exports ( #40297 )
...
Fixes #38070
When the originating definition was of the form
```js
module.exports.foo = expr
```
we were incorrectly trying to call `resolveName` on just the `foo` portion to get the "local" symbol, which simply failed to resolve (or would have resolved to the wrong thing), but for this form, the local symbol is just the containing property access expression
2021-03-11 07:23:19 -08:00
..
2021-03-02 16:32:28 -08:00
2021-02-05 10:37:47 -08:00
2021-03-10 09:34:31 -08:00
2020-05-11 15:07:43 -07:00
2021-03-01 14:32:28 -08:00
2020-09-11 15:10:55 -04:00
2020-07-13 10:38:30 -07:00
2020-06-26 10:15:53 -07:00
2021-03-01 14:32:28 -08:00
2020-09-11 17:18:23 -07:00
2020-07-07 13:53:46 -07:00
2019-11-27 13:44:31 -08:00
2021-03-01 15:15:09 -08:00
2021-03-01 14:32:28 -08:00
2019-12-05 10:51:31 -08:00
2021-03-01 15:15:09 -08:00
2021-03-11 07:23:19 -08:00
2021-02-05 15:24:48 -08:00
2019-08-08 21:30:18 +03:00
2021-02-24 17:35:36 -08:00
2020-11-24 14:29:47 -08:00
2020-10-06 07:51:01 -07:00
2020-07-07 13:53:46 -07:00
2020-03-23 10:11:01 -07:00
2020-12-23 12:50:03 -08:00
2021-03-01 14:32:28 -08:00
2021-03-09 12:28:36 -08:00
2021-03-01 12:09:45 -08:00
2021-02-05 09:37:28 -08:00
2021-02-11 17:14:55 -08:00
2020-06-26 10:15:53 -07:00
2020-12-18 14:20:41 -08:00
2021-01-14 17:02:48 -08:00
2021-03-01 14:32:28 -08:00
2021-02-25 23:01:41 -08:00
2020-06-16 16:55:03 -07:00
2020-06-26 10:15:53 -07:00
2020-12-23 12:50:03 -08:00
2021-03-01 15:15:09 -08:00
2021-03-01 15:15:09 -08:00