Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions docs/docs/reference/metaprogramming/inline.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,6 @@ backend to inline code. The `inline` modifier is a more powerful option:
- expansion happens in the frontend instead of in the backend and
- expansion also applies to recursive methods.

To cross compile between both Scala 3 and Scala 2, we introduce a new `@forceInline`
annotation which is equivalent to the new `inline` modifier. Note that
Scala 2 ignores the `@forceInline` annotation, so one must use both
annotations to guarantee inlining for Scala 3 and at the same time hint inlining
for Scala 2 (i.e. `@forceInline @inline`).

<!--- (Commented out since the docs and implementation differ)

### Evaluation Rules
Expand Down