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

Ctrl+P and ChangeSignatureRefactoring ignore implicit parameters.

Open sxhya opened this issue 1 year ago • 1 comments

Consider the following code block:

\func foo (x : Nat) => x
  \where
    \func bar => x

According to new Arend rules, function bar does have argument x when invoked from outside of where-block of foo. However, some Arend subsystem seem to have no support of this language feature:

  • [X] Ctrl+P feature
  • [X] ChangeSignatureRefactoring feature
  • [ ] MoveStaticMembers feature

The exact arguments of bar can be calculated using the function Definition.getParametersOriginalDefinitions

sxhya avatar Oct 25 '23 13:10 sxhya

Partially addressed in a2820454eda43aebda4ec678640045b1a9fd45c2

sxhya avatar Feb 22 '24 16:02 sxhya

Fixed in 6f5c1290d2cfdeb22a5e7eac87c5cafb3e8eb498

sxhya avatar May 17 '24 23:05 sxhya