Open buzden opened 4 months ago
%default total interface S where pop : {_ : Unit} -> Unit S where pop = ?fooo
The signature may have an auto-implicit parameter with any quantity, in fact. But the name must be _.
auto
_
Code typechecks
Error: While processing right hand side of Stack implementation at X:15:1--20:14. {conArg:2503} is not a valid argument in pop s
Lack of name, of any non-_ name, of explicitness of a parameter makes the bug disappear.
Steps to Reproduce
The signature may have an
auto
-implicit parameter with any quantity, in fact. But the name must be_
.Expected Behavior
Code typechecks
Observed Behavior
Lack of name, of any non-
_
name, of explicitness of a parameter makes the bug disappear.