Skip to content

Commit

Permalink
Clarify letter and operator in precedence table
Browse files Browse the repository at this point in the history
  • Loading branch information
som-snytt committed Jul 9, 2021
1 parent 2b38496 commit de95577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/06-expressions.md
Expand Up @@ -659,7 +659,7 @@ character. Characters are listed below in increasing order of
precedence, with characters on the same line having the same precedence.

```scala
(all letters)
(all letters, as defined in [chapter 1](01-lexical-syntax.html), including `_` and `$`)
|
^
&
Expand All @@ -668,7 +668,7 @@ precedence, with characters on the same line having the same precedence.
:
+ -
* / %
(all other special characters)
(other operator characters, as defined in [chapter 1](01-lexical-syntax.html), including Unicode categories `Sm` and `So`)
```

That is, operators starting with a letter have lowest precedence,
Expand Down

0 comments on commit de95577

Please sign in to comment.