Files
newt/tests/ErrorDup.newt.fail
Steve Dunham a9718621e3
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
Initial LSP implementation/vscode support
2026-02-12 20:26:15 -08:00

22 lines
457 B
Plaintext

*** Process tests/ErrorDup.newt
module ErrorDup
ERROR at tests/ErrorDup.newt:9:7--9:10: Nat already declared
record Nat where
class Nat where
^^^
ERROR at tests/ErrorDup.newt:7:8--7:11: Nat already declared
data Nat = Z | S Nat
record Nat where
^^^
ERROR at tests/ErrorDup.newt:5:6--5:9: Nat already declared
data Nat = Z | S Nat
data Nat = Z | S Nat
^^^
ERROR at tests/ErrorDup.newt:1:1--1:2: Compile failed