Commit Graph

772 Commits

Author SHA1 Message Date
Jacob Walters
da6b21a570 [ test ] More comprehensive test for getVis 2024-03-15 22:51:49 +00:00
Jacob Walters
18b165bede [ elab ] Let elab scripts access visibility modifiers 2024-03-15 22:41:29 +00:00
Steve Dunham
809319fe8f
[ test ] fix clean_names function in testutils.sh (#3227) 2024-03-08 10:15:27 -06:00
rvs314
1143718098
Generalize succNotLTEpred (#3225)
* Don't require a runtime value of `x` for `succNotLTEpred`

* Add `succNotLTEpred` as an instance of `Uninhabited`

* Add contribution to changelog

* Update golden value for test `basic044`
2024-03-07 08:38:28 -06:00
André Videla
8ea1a092e0 add hiding test 2024-02-24 12:36:44 +00:00
André Videla
6485a0023f update confusing error message 2024-02-24 12:36:44 +00:00
André Videla
d51a5c91bb fix review comments 2024-02-24 12:36:44 +00:00
André Videla
58bcfb73c1 Update tests/idris2/operators/operators001/Test.idr 2024-02-24 12:36:44 +00:00
André Videla
e0f5ee9996 implement compatible operator suggestions 2024-02-24 12:36:44 +00:00
André Videla
31ea83039c first attempt at suggesting different operators 2024-02-24 12:36:44 +00:00
André Videla
4eb9c97806 Allow patterns in operator binders 2024-02-24 12:36:44 +00:00
André Videla
1d3668d9a6 Allow underscore as a valid name for binder operator 2024-02-24 12:36:44 +00:00
André Videla
91f66bc7b5 add location of fixity to change in error message 2024-02-24 12:36:44 +00:00
André Videla
210f9d9c15 fix error message for non-associative fixity 2024-02-24 12:36:44 +00:00
André Videla
4cb8dc507b update error message for infixr 2024-02-24 12:28:10 +00:00
André Videla
63c167637c wip more error messages 2024-02-24 12:28:10 +00:00
Andre Videla
38fbad17f8 update test 2024-02-24 12:28:10 +00:00
Andre Videla
992fc62d86 reinstate the good error messages 2024-02-24 12:28:10 +00:00
Andre Videla
a73522ec66 cleanup tests 2024-02-24 12:28:10 +00:00
André Videla
f079781c17 fix tests 2024-02-24 12:28:10 +00:00
André Videla
a7a25914b7 Allow binding operators on LHS
When a binding operator is found on the LHS, we don't check
if the first argument is a binder.
2024-02-24 12:28:10 +00:00
Andre Videla
07c42c22a5 update error messages 2024-02-24 12:28:10 +00:00
André Videla
fd40777e0d add error message tests 2024-02-24 12:28:10 +00:00
André Videla
02a6751796 add shunting test 2024-02-24 12:28:10 +00:00
André Videla
1adb780e3f add tests to chaining and combing operators 2024-02-24 12:28:10 +00:00
André Videla
6ce4ec2ebf add both typebind and autobind 2024-02-24 12:28:10 +00:00
André Videla
046e08d173 differenciate between type bind and expr bind 2024-02-24 12:28:10 +00:00
André Videla
0ed65eb587 desugar autobind properly 2024-02-24 12:28:10 +00:00
André Videla
b8d81b768e add autobind keyword 2024-02-24 12:28:10 +00:00
André Videla
1d7d07a667 add test file 2024-02-24 12:28:10 +00:00
Denis Buzdalov
8144980ae5 [ elab ] Support easy collection of information during TTImp traverse 2024-02-23 11:32:22 +01:00
Denis Buzdalov
9ab96dacd4 [ elab ] Treat map and <*> with no bind in elab scripts runner 2024-01-17 17:45:19 +03:00
Denis Buzdalov
0e831ed5ef [ prelude ] Make able to implement provably total showPrec recursively 2023-12-26 10:16:57 +00:00
Thomas E. Hansen
124a31243a [ rc ] 0.7.0-rc1
An actual, proper release candidate this time.
2023-12-22 14:44:30 +01:00
Thomas E. Hansen
d6892b4f04 [ rc ] 0.6.9 - update pkg017
Version in expected output
2023-12-22 14:44:30 +01:00
Thomas E. Hansen
a3b078cb0d [ rc ] For v0.6.9 - to see if the process was right
Good luck everybody...

v0.6.9 - Nice!  ^^
2023-12-22 14:44:30 +01:00
Denis Buzdalov
36132f6539 [ fix, re #3063 ] Fix forgotten reflection values 2023-12-21 17:30:57 +01:00
Steve Dunham
59e00c5210
[ test ] clean_names to make test outputs neater (#3156) 2023-12-08 14:10:37 +00:00
Alex1005a
999c404552
[ fix #3083 ] Fix record update with implicit args (#3092) 2023-11-30 10:13:09 +00:00
Justus Matthiesen
873b3edd29
[ fix #3143 ] traverse as-patterns when constructing terms matching an impossible LHS (#3146)
* [ fix #3143 ] traverse as-patterns in `getImpossibleTerm`

* [ test ] impossible as-pattern
2023-11-23 08:29:15 +00:00
Steve Dunham
af10fbaf94 [ error ] Improve parse errors in ipkg files 2023-11-12 10:09:50 +00:00
Denis Buzdalov
1aff26e94c [ test ] Reduce the need of frequent golden vals updates in one test 2023-11-09 22:05:36 +00:00
Denis Buzdalov
2c328a51c0 [ elab ] Support more applicative traversals of TTImp 2023-11-09 22:05:36 +00:00
Justus Matthiesen
bc386dab4e [ cleanup ] bring formatting of sc-graphs in tests back in sync 2023-11-06 20:10:21 +00:00
Justus Matthiesen
e5788a3e86 [ test ] tracking size-change across applications 2023-11-06 20:10:21 +00:00
Justus Matthiesen
f435256812 [ test ] tracking size-change in dot patterns 2023-11-06 20:10:21 +00:00
Justus Matthiesen
2798d8f226 [ cleanup ] update expected test outputs
Changes to the termination checker brought along some otherwise
insignificant changes to debug and error messages.
2023-11-06 20:10:21 +00:00
G. Allais
bee59d5fde
[ fix ] missing modules in .ipkg files (#3124)
Additionally, we now have bash options to make sure we will fail hard were
this situation to arise once again.
2023-10-27 20:37:00 +01:00
Denis Buzdalov
5f29b0b9c5 [ elab ] Add an ability to inspect in which function we currently are 2023-10-26 15:42:26 +01:00
Denis Buzdalov
50a579fa18 [ elab ] Implement an operation of returning referred defs of a def 2023-10-26 15:42:26 +01:00