change it to #[..] since # is also reserved

This commit is contained in:
rhiannon morris 2023-09-22 18:38:40 +02:00
parent bcfb0d81b8
commit d4de74eab6
3 changed files with 17 additions and 18 deletions

View file

@ -1,10 +1,10 @@
@[fail "but cases for"]
#[fail "but cases for"]
def missing-b : {a, b} → {a} =
λ x ⇒ case x return {a} of { 'a ⇒ 'a }
@[fail "duplicate arms"]
#[fail "duplicate arms"]
def repeat-enum-case : {a} → {a} =
λ x ⇒ case x return {a} of { 'a ⇒ 'a; 'a ⇒ 'a }
@[fail "duplicate tags"]
#[fail "duplicate tags"]
def repeat-enum-type : {a, a} = 'a