Skip to content

Commit

Permalink
distage: Document that -Yretain-trees option is mandatory for Scala…
Browse files Browse the repository at this point in the history
… 3 users
  • Loading branch information
neko-kai committed Jun 28, 2023
1 parent 4e6b8e7 commit f8016bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/microsite/src/main/tut/distage/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ Add the `distage-core` library:
version="$izumi.version$"
}

If you're using Scala 3 you **must** enable `-Yretain-trees` for this library to work correctly:

```scala
// REQUIRED options for Scala 3
scalacOptions += "-Yretain-trees"
```

### Hello World example

Expand Down

0 comments on commit f8016bc

Please sign in to comment.