8000 Merge pull request #2165 from danecek/patch-1 · pw1z/docs.scala-lang@ee172b7 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee172b7

Browse files
authored
Merge pull request scala#2165 from danecek/patch-1
Update soft-modifier.md
2 parents 6f5bcb8 + d1be7c2 commit ee172b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_scala3-reference/soft-modifier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Soft Keywords
66

77
A soft modifier is one of the identifiers `opaque`, `inline`, `open`, `transparent`, and `infix`.
88

9-
A soft keyword is a soft modifier, or one of `derives`, `end`, `extension`, `using`, `|`, `+`, `-`, `*`
9+
A soft keyword is a soft modifier, or one of `as`, `derives`, `end`, `extension`, `using`, `|`, `+`, `-`, `*`
1010

1111
A soft modifier is treated as potential modifier of a definition if it is followed by a hard modifier or a keyword combination starting a definition (`def`, `val`, `var`, `type`, `given`, `class`, `trait`, `object`, `enum`, `case class`, `case object`). Between the two words there may be a sequence of newline tokens and soft modifiers.
1212

0 commit comments

Comments
 (0)
0