intellij-arend icon indicating copy to clipboard operation
intellij-arend copied to clipboard

"Change Argument Explicitness" adds redundant long name to local functions

Open marat-rkh opened this issue 3 years ago • 0 comments

\func foo => bar Nat nil
  \where {
    \func bar (A : \Type) (l : List A) => l
  }

Call Change Argument Explicitness on (A : \Type), you will get:

\func foo => foo.bar {Nat} nil
  \where {
    \func bar {A : \Type} (l : List A) => l
  }

Note that now bar is replaced with foo.bar. The foo. prefix is redundant here, I always need to remove it after I apply the intention.

marat-rkh avatar Feb 21 '22 08:02 marat-rkh