Maximal number of successive inlines (32) exceeded

Please reference this Tapir schema:

I receive this error: Maximal number of successive inlines (32) exceeded

This project, though, works just fine:

Setting scalacOptions to β€œ-Xmax-inlines=128” does not work. Thoughts? :slight_smile:

That’s what I love about asking questions on a forum β€” because once you do, you’ll fix the issue. And here is the sbt fix:

scalacOptions ++= Seq(
  "-Wunused:all",
  "-Xmax-inlines",
  "128"
)

I thought it was: β€œ-Xmax-inlines=128”

2 Likes