## Compiler version Tested 3.0.2 and 3.1.3, both with option `-source:3.0-migration`, see https://scastie.scala-lang.org/04ztVOx5QuqycanJXlZQkg ## Minimized code ```scala object EnumOf { inline given [E](using ct: scala.reflect.ClassTag[E]): AnyRef = ??? } ``` Note: the code is extracted from https://github.com/theiterators/kebs/blob/master/macro-utils/src/main/scala-3/pl/iterators/kebs/macros/enums/EnumEntryMacros.scala ## Output > `inline` must be followed by an `if` or a `match` ## Expectation Valid Scala 3 code should still compile in migration mode, or if this is not intended, the documentation should be changed. The [documentation says](https://docs.scala-lang.org/scala3/guides/migration/tooling-migration-mode.html): > option makes the compiler forgiving on most of the dropped features There is nothing about Scala 3 features not being supported.