You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we check for shadowing, we should only report a warning if the shadowed name is different than the name being defined.
Usually, that would not be an issue as we have no recursive modules, but it can happen quite easily with submodules:
module A where
submodule B where
z = 0x2
import submodule B
At the moment this results in:
[warning] at test.cry:4:3--4:4
This binding for `z` shadows the existing binding at
test.cry:4:3--4:4
The text was updated successfully, but these errors were encountered:
yav
added a commit
that referenced
this issue
Feb 3, 2021
When we check for shadowing, we should only report a warning if the shadowed name is different than the name being defined.
Usually, that would not be an issue as we have no recursive modules, but it can happen quite easily with
submodule
s:At the moment this results in:
The text was updated successfully, but these errors were encountered: