Steps to Reproduce
module Test
interface Foo a where
bar : a -> {auto ok: ()} -> a
Expected Behavior
Typecheck (Like Idris1)
Observed Behavior
1/1: Building Test (Test.idr)
Test.idr:4:3--5:1:While processing left hand side of bar at Test.idr:4:3--5:1:
ok is not a valid implicit argument in bar
Edit: maybe related to #8, however I couldn't change it to a constraint as a workaround since I was restricting the domain of a division to nonzero elements.