Skip to content

Commit faa9ae6

Browse files
committed
Fix #8018: update syntax for wildcard argument in types
1 parent 00c13fb commit faa9ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/internals/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ SimpleType ::= SimpleType TypeArgs
157157
| StableId
158158
| Path ‘.’ ‘type’ SingletonTypeTree(p)
159159
| ‘(’ ArgTypes ‘)’ Tuple(ts)
160-
| ‘_’ SubtypeBounds
160+
| ‘?’ SubtypeBounds
161161
| Refinement RefinedTypeTree(EmptyTree, refinement)
162162
| SimpleLiteral SingletonTypeTree(l)
163163
| ‘$’ ‘{’ Block ‘}’

0 commit comments

Comments
 (0)