lue-bird / elm-review-missing-record-field-lens

elm-review: helper generation
https://package.elm-lang.org/packages/lue-bird/elm-review-missing-record-field-lens/latest/
MIT License
2 stars 1 forks source link

`import` alias: account for variant `module` names with `.` #7

Closed lue-bird closed 2 years ago

lue-bird commented 2 years ago

https://github.com/elm/compiler/issues/2260

Solution: Replace . with _ and vice versa. Remember to document that behavior in import alias config builder and add the linked issue

On second thought, this might be too weird, so I'll revert to Variant.Module.On.name which will make the rule code and config easier at the same time.

lue-bird commented 2 years ago

revert complete