idris2-elab-util icon indicating copy to clipboard operation
idris2-elab-util copied to clipboard

Update reflection code to be compatible with Idris2#2535

Open ohad opened this issue 3 years ago • 0 comments

Idris2#2535 adds a quantity argument to PCase and ICase. Update the reflection code to include this additional argument.

The fix in src/Language/Reflection/Syntax.idr is only temporary. There's some discussion in the PR#2535 concerning whether the quantity annotation should be a Maybe Count. If that's what's going to happen in the end, then we should revert the implementation (but not the type) of iCase back to iCase = ICase EmptyFC.

Don't merge this commit into main until #2535 is merged and incorproated into the nightly build.

ohad avatar Jun 12 '22 11:06 ohad