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.
1 parent 38afba0 commit 7dba7caCopy full SHA for 7dba7ca
compiler/src/dotty/tools/dotc/parsing/Scanners.scala
@@ -233,10 +233,10 @@ object Scanners {
233
following = copy :: following
234
}
235
236
- /** If following is empty, invalidate token data `td` by setting
+ /** If following is empty, invalidate token data `td` by setting
237
* `td.token` to `EMPTY`. Otherwise pop head of `following` into `td`.
238
*/
239
- private def popCopy(td: TokenData) = {
+ private def popCopy(td: TokenData) =
240
if (following.isEmpty) td.token = EMPTY
241
else {
242
td.copyFrom(following.head)
0 commit comments