diff --git a/src/sbt-bridge/scala/tools/xsbt/ExtractAPI.scala b/src/sbt-bridge/scala/tools/xsbt/ExtractAPI.scala index 4304321f01e2..9bf54534ea84 100644 --- a/src/sbt-bridge/scala/tools/xsbt/ExtractAPI.scala +++ b/src/sbt-bridge/scala/tools/xsbt/ExtractAPI.scala @@ -526,6 +526,7 @@ class ExtractAPI[GlobalType <: Global]( val absOver = s.hasFlag(ABSOVERRIDE) val abs = s.hasFlag(ABSTRACT) || s.hasFlag(DEFERRED) || absOver val over = s.hasFlag(OVERRIDE) || absOver + val hasInline = global.settings.optInlinerEnabled && s.annotations.exists(_.symbol.tpe == typeOf[scala.inline]) new xsbti.api.Modifiers( abs, over, @@ -533,7 +534,7 @@ class ExtractAPI[GlobalType <: Global]( s.hasFlag(SEALED), isImplicit(s), s.hasFlag(LAZY), - s.hasFlag(MACRO), + s.hasFlag(MACRO) || hasInline, s.hasFlag(SUPERACCESSOR) ) }