mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 12:14:26 +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
|
|
^
|
|
|