We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom operators starting with the | symbol seem to have a parsing/scoping issue.
|
Spotted here: LorenzoPerticone/idris-NN#1
module Foo infixl 0 |?? (|??) : Num a => a -> a -> a x |?? y = x * y issue : Int -> Int -> Int issue x = (|?? x)
$ idris --check Foo.idr Foo.idr:8:16: | 8 | issue x = (|?? x) | ^ unexpected 'x' expecting function name
The error doesn't happen if:
(x |??)
idris --version: 1.3.3-git:PRE
idris --version
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Custom operators starting with the
|
symbol seem to have a parsing/scoping issue.Spotted here: LorenzoPerticone/idris-NN#1
Steps to Reproduce
Observed Behavior
The error doesn't happen if:
(x |??)
, this works.idris --version
: 1.3.3-git:PREThe text was updated successfully, but these errors were encountered: