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 {
161161 vparamss = (setterParam :: Nil ) :: Nil ,
162162 tpt = TypeTree (defn.UnitType ),
163163 rhs = setterRhs
164- ).withMods((mods | Accessor ) &~ (CaseAccessor | Implicit | Given | Lazy ))
164+ ).withMods((mods | Accessor ) &~ (CaseAccessor | ImplicitOrGiven | Lazy ))
165165 Thicket (vdef, setter)
166166 }
167167 else vdef
Original file line number Diff line number Diff line change @@ -789,7 +789,7 @@ object Types {
789789 }
790790
791791 /** 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
793793 * be returned
794794 */
795795 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 {
230230 assert(initctx.typer != null )
231231 lazy val refs : List [ImplicitRef ] = {
232232 val buf = new mutable.ListBuffer [TermRef ]
233- for (companion <- companionRefs) buf ++= companion.implicitMembers(ImplicitOrImplied )
233+ for (companion <- companionRefs) buf ++= companion.implicitMembers(ImplicitOrImpliedOrGiven )
234234 buf.toList
235235 }
236236
Original file line number Diff line number Diff line change @@ -988,7 +988,7 @@ class Namer { typer: Typer =>
988988 val maybeStable = if (mbr.symbol.isStableMember) StableRealizable else EmptyFlags
989989 ctx.newSymbol(
990990 cls, alias,
991- Exported | Method | Final | maybeStable | mbr.symbol.flags & ImplicitOrImplied ,
991+ Exported | Method | Final | maybeStable | mbr.symbol.flags & ImplicitOrImpliedOrGiven ,
992992 mbr.info.ensureMethodic,
993993 coord = span)
994994 }
You can’t perform that action at this time.
0 commit comments