intellij-arend
intellij-arend copied to clipboard
New inspection: report name shadowing in data constructors

Here at line 724 I have accidentally introduced {B : Type}
which shadows B
in the pattern on the left side of =>
. This lead to strange issues with implicit arguments inference, I spent quite some time trying to figure out what is wrong. It would be nice if IDE reported name shadowing in this case.