-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Missing production rule for TypeParamClause and TypeArgs in https://docs.scala-lang.org/scala3/reference/syntax.html
TypeDcl ::= id [TypeParamClause] {FunParamClause} TypeBounds [‘=’ Type] ;
SimpleType ::= SimpleLiteral
| ‘?’ TypeBounds
| id
| Singleton ‘.’ id
| Singleton ‘.’ ‘type’
| ‘(’ Types ‘)’
| Refinement
| ‘$’ ‘{’ Block ‘}’ -- unless inside quoted pattern
| ‘$’ ‘{’ Pattern ‘}’ -- only inside quoted pattern
| SimpleType1 TypeArgs
Metadata
Metadata
Assignees
Labels
No labels