mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 11:56:54 +03:00
9 lines
226 B
Plaintext
9 lines
226 B
Plaintext
# We had a bug where this gave the incorrect error: "Expected a number but found 'a' at definition 'Foo'."
|
|
type bool = false | true
|
|
|
|
(Foo bool/false a) = 0
|
|
(Foo bool/true 0) = 0
|
|
(Foo bool/true n) = n
|
|
|
|
Main = (Foo bool/true 3)
|