Skip to content

Commit 327ef1b

Browse files
Update compiler/src/dotty/tools/dotc/core/SymDenotations.scala
Co-authored-by: Fengyun Liu <[email protected]>
1 parent eb39009 commit 327ef1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/SymDenotations.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ object SymDenotations {
992992

993993
/** Does this method or field need to be retained at runtime */
994994
def isRetainedInline(using Context): Boolean =
995-
isAllOf(Inline, butNot = Deferred)
995+
is(Inline, butNot = Deferred)
996996
&& allOverriddenSymbols.exists(!_.is(Inline))
997997

998998
/** Does this method need to be retained at runtime */

0 commit comments

Comments
 (0)