Skip to content

Commit

Permalink
Enum-shorthand: Fix constant pattern.
Browse files Browse the repository at this point in the history
Fix constant pattern, clean-up, and expansion of the constant section.

* Changes grammar for constant pattern to not allow full selector chain,
  only shorthands for `T.id` and `const T.(id|new)(args)`.
  so the shorthand doesn't accept more than the existing limited productions.
* No other grammatical or semantic changes intended.
* Expand the "Constants" section.
* Mention explicitly that a context type scheme is a semantic type,
  so it cannot refer to a type alias.
  • Loading branch information
lrhn authored and sgrekhov committed Dec 2, 2024
1 parent 89bb040 commit 2161fe1
Showing 1 changed file with 282 additions and 116 deletions.
Loading

0 comments on commit 2161fe1

Please sign in to comment.