Skip to content

Commit edeb4b8

Browse files
committed
Doc comment fix in Parser
We did not allow `using` in function types for a long time.
1 parent 26170ec commit edeb4b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/parsing/Parsers.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,8 +1468,8 @@ object Parsers {
14681468
* PolyFunType ::= HKTypeParamClause '=>' Type
14691469
* | HKTypeParamClause ‘->’ [CaptureSet] Type -- under pureFunctions
14701470
* FunTypeArgs ::= InfixType
1471-
* | `(' [ [ ‘[using]’ ‘['erased'] FunArgType {`,' FunArgType } ] `)'
1472-
* | '(' [ ‘[using]’ ‘['erased'] TypedFunParam {',' TypedFunParam } ')'
1471+
* | `(' [ [ ‘['erased'] FunArgType {`,' FunArgType } ] `)'
1472+
* | '(' [ ‘['erased'] TypedFunParam {',' TypedFunParam } ')'
14731473
*/
14741474
def typ(): Tree =
14751475
val start = in.offset

0 commit comments

Comments
 (0)