André Videla
dd991861c1
fix error message for unexported fixities
2024-04-21 23:27:29 +01:00
André Videla
3b0d9d9f35
fix printing of backticked operators
2024-04-04 16:08:23 +01:00
André Videla
75032a7164
Emit warning for fixities with no export modifiers ( #3234 )
...
* Emit warning for fixities with no export modifiers
This is to help update all the existing code to program with explicit
fixity export directives in preparation for the behavioral change where
they will become private by default.
2024-04-03 15:41:57 +01: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
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