Skip to content

Conversation

@eed3si9n
Copy link
Collaborator

@eed3si9n eed3si9n commented Jan 9, 2023

Problem

Currently operator-like identifiers are not part of the simple expression, so you can't call ::(123).

Solution

This includes $.operator_identifier into _simple_expression, and further improves the expression hierarchy.

Note that this removes test on double-prefix-expression. It's not allowed in Scala spec to have double-prefix.

SCALA_SCALA_LIBRARY_EXPECTED=98
SCALA_SCALA_COMPILER_EXPECTED=63
DOTTY_COMPILER_EXPECTED=63
DOTTY_COMPILER_EXPECTED=70
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 🚀 🚀 🚀

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice!

Problem
-------
Currently operator-like identifiers are not part of the simple
expression, so you can't call `::(123)`.

Solution
--------
This includes `$.operator_identifier` into `_simple_expression`,
and further improves the expression hierarchy.

Note that this removes test on double-prefix-expression.
It's not allowed in Scala spec to have double-prefix.
@eed3si9n eed3si9n force-pushed the wip/call_expression branch from 905417e to bf4102c Compare January 9, 2023 23:55
@eed3si9n eed3si9n mentioned this pull request Jan 10, 2023
@ckipp01 ckipp01 merged commit 0ae42bf into tree-sitter:master Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants