Skip to content

Commit

Permalink
[ re #610 ] just to make sure we don't have irrelevant constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Feb 11, 2016
1 parent 5e30170 commit edbc590
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/Fail/IrrelevantConstructor.agda
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-- Andreas, 2016-02-11. Irrelevant constructors are not (yet?) supported

data D : Set where
.c : D

-- Should fail, e.g., with parse error.
6 changes: 6 additions & 0 deletions test/Fail/IrrelevantConstructor.err
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
IrrelevantConstructor.agda:4,3-3
IrrelevantConstructor.agda:4,3: Parse error
.<ERROR>
c : D

-- Should fail, e.g., w...

0 comments on commit edbc590

Please sign in to comment.