File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ import Decorators._
106
106
def adaptToField (tree : Tree ): Tree =
107
107
if (tree.isEmpty) tree else tree.ensureConforms(field.info.widen)
108
108
109
- val NoFieldNeeded = Lazy | Deferred | JavaDefined | (if (ctx.settings. YnoInline .value ) EmptyFlags else Inline )
109
+ val NoFieldNeeded = Lazy | Deferred | JavaDefined | (if (true ) EmptyFlags else Inline )
110
110
111
111
def isErasableBottomField (cls : Symbol ): Boolean = {
112
112
// TODO: For Scala.js, return false if this field is in a js.Object unless it is an ErasedPhantomClass.
Original file line number Diff line number Diff line change @@ -1279,7 +1279,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
1279
1279
}
1280
1280
val sym = vdef.symbol
1281
1281
sym.info match {
1282
- case info : ConstantType if isFinalInlinableVal(sym) && ! ctx.settings. YnoInline .value => sym.setFlag(Inline )
1282
+ case info : ConstantType if isFinalInlinableVal(sym) && false => sym.setFlag(Inline )
1283
1283
case _ =>
1284
1284
}
1285
1285
}
@@ -2140,7 +2140,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
2140
2140
checkInlineConformant(tree, " argument to inline parameter" )
2141
2141
if (Inliner .hasBodyToInline(tree.symbol) &&
2142
2142
! ctx.owner.ownersIterator.exists(_.isInlineMethod) &&
2143
- ! ctx.settings. YnoInline .value &&
2143
+ false &&
2144
2144
! ctx.isAfterTyper &&
2145
2145
! ctx.reporter.hasErrors)
2146
2146
adapt(Inliner .inlineCall(tree, pt), pt)
You can’t perform that action at this time.
0 commit comments