File tree 2 files changed +6
-6
lines changed
compiler/src/dotty/tools/dotc 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ object Scala3 with
87
87
case _ => false
88
88
}
89
89
90
- end NameOps
90
+ // end NameOps
91
91
92
92
extension SymbolOps on (sym : Symbol ) with
93
93
@@ -126,7 +126,7 @@ object Scala3 with
126
126
def isAnnotation (given Context ): Boolean =
127
127
sym.derivesFrom(defn.AnnotationClass )
128
128
129
- end SymbolOps
129
+ // end SymbolOps
130
130
131
131
object LocalSymbol with
132
132
@@ -169,7 +169,7 @@ object Scala3 with
169
169
def isJavaIdent =
170
170
isJavaIdentifierStart(symbol.head) && symbol.tail.forall(isJavaIdentifierPart)
171
171
172
- end StringOps
172
+ // end StringOps
173
173
174
174
extension InfoOps on (info : SymbolInformation ) with
175
175
@@ -205,11 +205,11 @@ object Scala3 with
205
205
def isTrait : Boolean = info.kind.isTrait
206
206
def isInterface : Boolean = info.kind.isInterface
207
207
208
- end InfoOps
208
+ // end InfoOps
209
209
210
210
extension RangeOps on (range : Range ) with
211
211
def hasLength = range.endLine > range.startLine || range.endCharacter > range.startCharacter
212
- end RangeOps
212
+ // end RangeOps
213
213
214
214
/** Sort symbol occurrences by their start position. */
215
215
given OccurrenceOrdering : Ordering [SymbolOccurrence ] = (x, y) =>
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ object Nullables with
189
189
val mutables = infos.foldLeft(Set [TermRef ]())((ms, info) =>
190
190
ms.union(info.asserted.filter(_.symbol.is(Mutable ))))
191
191
infos.extendWith(NotNullInfo (Set (), mutables))
192
- end notNullInfoOps
192
+ // end notNullInfoOps
193
193
194
194
extension refOps on (ref : TermRef ) with
195
195
You can’t perform that action at this time.
0 commit comments