We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
using
1 parent bfb88cc commit ad66401Copy full SHA for ad66401
compiler/src/dotty/tools/dotc/parsing/Parsers.scala
@@ -916,7 +916,9 @@ object Parsers {
916
def followingIsParamOrGivenType() =
917
val lookahead = in.LookaheadScanner()
918
lookahead.nextToken()
919
- if startParamOrGivenTypeTokens.contains(lookahead.token) then true
+ if startParamOrGivenTypeTokens.contains(lookahead.token)
920
+ || lookahead.isIdent(nme.using)
921
+ then true
922
else if lookahead.token == IDENTIFIER then
923
if lookahead.name == nme.inline then
924
0 commit comments