diff options
author | 2016-10-19 15:43:39 +0200 | |
---|---|---|
committer | 2016-10-19 17:05:39 +0200 | |
commit | 21e1d501e17c9989d9cd689988a510e1864f817a (patch) | |
tree | 2bb19e8fe38ad80c2cb3266eaba47aa85d9906c7 /test-suite/output/Cases.out | |
parent | 6fbe3c850bac9cbdfa64dbdcca7bd60dc7862190 (diff) |
Attempt to improve error rendering in pattern-matching compilation (#5142).
When trying different possible return predicates, returns the error
given by the first try, assuming this is the most interesting one.
Diffstat (limited to 'test-suite/output/Cases.out')
-rw-r--r-- | test-suite/output/Cases.out | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test-suite/output/Cases.out b/test-suite/output/Cases.out index 2b828d382..95fcd362e 100644 --- a/test-suite/output/Cases.out +++ b/test-suite/output/Cases.out @@ -56,3 +56,6 @@ match H with else fun _ : P false => Logic.I) x end : B -> True +The command has indeed failed with message: +Non exhaustive pattern-matching: no clause found for pattern +gadtTy _ _ |