change it to #[..] since # is also reserved
This commit is contained in:
parent
bcfb0d81b8
commit
d4de74eab6
3 changed files with 17 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue