Allow in
to be Parsed as an Operator
#445
Labels
--breaking
Important: a change that will break a public API or user-facing behaviour
p-highest
Should be completed ASAP
Summary
In Enso's type signature syntax,
in
behaves more like an operator than a function. However, the parser treats it as a standard variable identifier, which means that it doesn't get interpreted as an operator. This causes problems with how the compiler needs to handle it, as well as problems in how it's parsed relative to other operators (around variable precedence).Value
The context ascription will be handled properly by the parser.
Specification
in
context ascription operator as an operator in the parser.Acceptance Criteria & Test Cases
in
as an operator.The text was updated successfully, but these errors were encountered: