Idris2/tests/chez
Mathew Polzin fa06e9936b
Warn about unreachable default clauses (#1942)
* so much experimentation

* tests that show preliminary evidence the new stuff is working.

* small amount of cleanup

* more cleanup of various troubleshooting code.

* new test case added.

* only log unreachable indices if there are any.

* when traversing deeper simply skip over defaults since they have already been reviewed.

* Remove fallback clause that the changes in this PR correctly identified as unreachable.

* tidying up more.

* move some common functions to a new Core.Case.Util module.

* refer to case builder and case tree under new parent module.

* update imports to look for CaseTree in new submodule.

* update api ipkg

* remove unneeded application operators.

* remove or comment out unreachable default clauses caught by the changes in this PR.

* a bit of code documentation and renaming for clarity.

* bump previous version in CI.

* fix API usage of Util module.

* Add issue 1079 test cases.

* forgot to add new test cases file.

* remove commented-out lines by request of RefC author.

* Use a SortedSet instead of nubbing a list.

* update new case tree import.

* Update src/Core/Case/Util.idr

Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>

* remove function with nothing to offer above and beyond a differently named copy of the same code.

* replace a large tuple with a record; discover not all of the tuple's fields were needed.

* fix shadowing warning.

Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2021-10-02 12:55:21 +01:00
..
barrier001 Overhaul of concurrency primitives (#968) 2021-02-05 16:16:20 +00:00
bitops Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
casts Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
channels001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
channels002 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
channels003 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
channels004 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
channels005 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez002 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez003 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez004 [ fix #1260 ] Use blodwen-stringbytelen instead of C's strlen (#1261) 2021-07-13 11:52:15 +01:00
chez005 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez006 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez007 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez008 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez009 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez010 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez011 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez012 Return Bool from IOArray.writeArray 2021-07-15 22:16:22 +01:00
chez013 Use pragma once instead of include guard 2021-06-28 12:05:22 +01:00
chez014 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez015 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez016 Bring #1719 up to date with latest changes 2021-07-15 22:04:49 +01:00
chez017 [ fix ] Create library dir if necessary (#1300) 2021-06-14 16:12:46 +01:00
chez018 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez019 [ new ] --install-with-src; refactoring around FCs (#1450) 2021-06-05 12:53:22 +01:00
chez020 Warn about unreachable default clauses (#1942) 2021-10-02 12:55:21 +01:00
chez021 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez022 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez023 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez024 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez025 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez026 Rename --consolewidth option to --console-width for consistency 2020-08-19 11:59:31 +01:00
chez027 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez028 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez029 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez030 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez031 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez032 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez033 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez034 fix arity for blodwen-set-thread-data 2021-07-15 15:02:43 +01:00
forkjoin001 Overhaul of concurrency primitives (#968) 2021-02-05 16:16:20 +00:00
futures001 Overhaul of concurrency primitives (#968) 2021-02-05 16:16:20 +00:00
integers Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
memo [ performance ] Memoise toplevel constants (#1899) 2021-09-08 16:46:19 +01:00
newints Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
perf001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
reg001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
semaphores001 Overhaul of concurrency primitives (#968) 2021-02-05 16:16:20 +00:00
semaphores002 [ fix #758 ] desugar non-binding sequencing in do blocks to (>>) (#1095) 2021-02-24 11:07:16 +00:00