Skip to content

Commit

Permalink
Merge pull request #127 from joan38/max-inlines
Browse files Browse the repository at this point in the history
Add -Xmax-inlines compiler flag
  • Loading branch information
TonioGela authored Aug 14, 2024
2 parents 0f60dd0 + e4b2ed5 commit 667098e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ private[scalacoptions] trait ScalacOptions {
val async =
advancedOption("async", version => version.isBetween(V2_13_3, V3_0_0))

/** Maximal number of successive inlines. Default: 32.
*/
def maxInlines(limit: Int) =
advancedOption("max-inlines", List(limit.toString), version => version >= V3_0_0)

/** Enable recommended warnings.
*/
def lintOption(
Expand Down

0 comments on commit 667098e

Please sign in to comment.