Skip to content

Conversation

@cristianoc
Copy link
Collaborator

Fixes #323

The computation of scope for a struct/signatures takes the first and last items, ignoring the fact that they could be ghost locations.
In particular, using @react.component triggers the ppx which leaves ghost definitions at the end, making the end scope wrong.

Fixes #323

The computation of scope for a struct/signatures takes the first and last items, ignoring the fact that they could be ghost locations.
In particular, using `@react.component` triggers the ppx which leaves ghost definitions at the end, making the end scope wrong.
@cristianoc cristianoc merged commit 1238497 into master Dec 7, 2021
@cristianoc cristianoc deleted the env_scope branch December 7, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken autocomplete of local variables if @react.component decorator is present

1 participant