mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 01:01:59 +03:00
12 lines
222 B
Plaintext
12 lines
222 B
Plaintext
1/1: Building ImplError (ImplError.idr)
|
|
Error: Implementation body can only contain definitions
|
|
|
|
ImplError:5:3--5:4
|
|
1 | data Foo = Bar
|
|
2 |
|
|
3 | implementation Show Foo where
|
|
4 | show Bar = "a Foo"
|
|
5 | f
|
|
^
|
|
|