Skip to content

Commit 2e12f19

Browse files
committed
Fix typo
1 parent b65b5c4 commit 2e12f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/CacheAliasImplicits.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class CacheAliasImplicits extends MiniPhase with IdentityDenotTransformer { this
4949

5050
override def transformDefDef(tree: DefDef)(implicit ctx: Context): Tree = {
5151
val sym = tree.symbol
52-
val isCached = sym.is(Inline) && {
52+
val isCached = !sym.is(Inline) && {
5353
sym.info match {
5454
case ExprType(resTpe) if sym.is(Given, butNot = CacheAliasImplicits.NoCacheFlags) =>
5555
tree.rhs.tpe match {

0 commit comments

Comments
 (0)