File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ object desugar {
161
161
vparamss = (setterParam :: Nil ) :: Nil ,
162
162
tpt = TypeTree (defn.UnitType ),
163
163
rhs = setterRhs
164
- ).withMods((mods | Accessor ) &~ (CaseAccessor | Implicit | Given | Lazy ))
164
+ ).withMods((mods | Accessor ) &~ (CaseAccessor | ImplicitOrGiven | Lazy ))
165
165
Thicket (vdef, setter)
166
166
}
167
167
else vdef
Original file line number Diff line number Diff line change @@ -789,7 +789,7 @@ object Types {
789
789
}
790
790
791
791
/** The set of implicit term members of this type
792
- * @param kind A subset of {Implicit, Implied} that sepcifies what kind of implicit should
792
+ * @param kind A subset of {Implicit, Implied} that specifies what kind of implicit should
793
793
* be returned
794
794
*/
795
795
final def implicitMembers (kind : FlagSet )(implicit ctx : Context ): List [TermRef ] = track(" implicitMembers" ) {
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ object Implicits {
230
230
assert(initctx.typer != null )
231
231
lazy val refs : List [ImplicitRef ] = {
232
232
val buf = new mutable.ListBuffer [TermRef ]
233
- for (companion <- companionRefs) buf ++= companion.implicitMembers(ImplicitOrImplied )
233
+ for (companion <- companionRefs) buf ++= companion.implicitMembers(ImplicitOrImpliedOrGiven )
234
234
buf.toList
235
235
}
236
236
Original file line number Diff line number Diff line change @@ -988,7 +988,7 @@ class Namer { typer: Typer =>
988
988
val maybeStable = if (mbr.symbol.isStableMember) StableRealizable else EmptyFlags
989
989
ctx.newSymbol(
990
990
cls, alias,
991
- Exported | Method | Final | maybeStable | mbr.symbol.flags & ImplicitOrImplied ,
991
+ Exported | Method | Final | maybeStable | mbr.symbol.flags & ImplicitOrImpliedOrGiven ,
992
992
mbr.info.ensureMethodic,
993
993
coord = span)
994
994
}
You can’t perform that action at this time.
0 commit comments