Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Dec 3, 2020

  • Update syntax.md to remove features that are unsupported or only supported by a -Y option.
  • Add clause on catch case ...
  • Add clause on extending with ,

It is equivalent to the old form
```
class A extends B with C { ... }
```
Copy link
Contributor

Choose a reason for hiding this comment

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

Will the with form be deprecated? Should we say something about which form is recommended?

* | SimpleLiteral
* | Singleton ‘.’ id
* -- not yet | Singleton ‘(’ Singletons ‘)’
* -- not yet | Singleton ‘[’ Types ‘]’
Copy link
Contributor

Choose a reason for hiding this comment

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

That's not an issue of this PR, but why are Singletons required to be non-empty?

@odersky odersky merged commit 8201bc8 into scala:master Dec 4, 2020
@odersky odersky deleted the fix-syntax-docs branch December 4, 2020 16:53
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.

2 participants