mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-26 13:11:30 +03:00
e25f0a57f9
Should make a default implicit, not an auto implicit, when running out of arguments and expecting a default implicit. Fixes #371
11 lines
171 B
Idris
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'
|