Idris2/tests/idris2/reg030/B.idr
Edwin Brady e25f0a57f9 Use correct implicit generation function
Should make a default implicit, not an auto implicit, when running out
of arguments and expecting a default implicit. Fixes #371
2020-07-06 14:02:45 +01:00

11 lines
171 B
Idris

module B
public export
record Rec where
constructor MkRec
field : Char --- Unit and Bool don't cause the bug
public export
defaultRec : Rec
defaultRec = MkRec 'a'