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