We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b65b5c4 commit 2e12f19Copy full SHA for 2e12f19
compiler/src/dotty/tools/dotc/transform/CacheAliasImplicits.scala
@@ -49,7 +49,7 @@ class CacheAliasImplicits extends MiniPhase with IdentityDenotTransformer { this
49
50
override def transformDefDef(tree: DefDef)(implicit ctx: Context): Tree = {
51
val sym = tree.symbol
52
- val isCached = sym.is(Inline) && {
+ val isCached = !sym.is(Inline) && {
53
sym.info match {
54
case ExprType(resTpe) if sym.is(Given, butNot = CacheAliasImplicits.NoCacheFlags) =>
55
tree.rhs.tpe match {
0 commit comments