You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1598 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Looking at http://caml.inria.fr/ocaml/htmlman/manual015.html, the only
way "a := b" could be an expression is in the "expr infix-op expr" case.
Lower on the same page, it says "infix-op" can be "infix-symbol" or a
few things other than ":=". "infix-symbol" is defined at http://caml.inria.fr/ocaml/htmlman/manual009.html, where it says that
infix symbols don't start with a colon. Thus ":=" is not an
infix-symbol or an infix-op, and "a := b" is not an expression.
You could fix this by altering the definition of "infix-op" or
"infix-symbol". Note that the "operator-name" production in manual11.html
has a special case for ":=". If you change "infix-symbol" to include
":=", you probably want to remove that special case from "operator-name".
Tim Freeman tim@fungible.com
Which is worse: ignorance or apathy? Who knows? Who cares?
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
The text was updated successfully, but these errors were encountered:
Looking at http://caml.inria.fr/ocaml/htmlman/manual015.html, the only
way "a := b" could be an expression is in the "expr infix-op expr" case.
Lower on the same page, it says "infix-op" can be "infix-symbol" or a
few things other than ":=".
For the record, this was fixed at the same time as #8069.
Original bug ID: 1598
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Looking at http://caml.inria.fr/ocaml/htmlman/manual015.html, the only
way "a := b" could be an expression is in the "expr infix-op expr" case.
Lower on the same page, it says "infix-op" can be "infix-symbol" or a
few things other than ":=". "infix-symbol" is defined at
http://caml.inria.fr/ocaml/htmlman/manual009.html, where it says that
infix symbols don't start with a colon. Thus ":=" is not an
infix-symbol or an infix-op, and "a := b" is not an expression.
You could fix this by altering the definition of "infix-op" or
"infix-symbol". Note that the "operator-name" production in manual11.html
has a special case for ":=". If you change "infix-symbol" to include
":=", you probably want to remove that special case from "operator-name".
Tim Freeman tim@fungible.com
Which is worse: ignorance or apathy? Who knows? Who cares?
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78
The text was updated successfully, but these errors were encountered: