Skip to content

Commit a9e74e7

Browse files
Merge pull request #11770 from dotty-staging/fix-#11766
Remove outdated docs of @forceInline
2 parents c7a353c + 1c9f4f6 commit a9e74e7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/docs/reference/metaprogramming/inline.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,6 @@ backend to inline code. The `inline` modifier is a more powerful option:
188188
- expansion happens in the frontend instead of in the backend and
189189
- expansion also applies to recursive methods.
190190

191-
To cross compile between both Scala 3 and Scala 2, we introduce a new `@forceInline`
192-
annotation which is equivalent to the new `inline` modifier. Note that
193-
Scala 2 ignores the `@forceInline` annotation, so one must use both
194-
annotations to guarantee inlining for Scala 3 and at the same time hint inlining
195-
for Scala 2 (i.e. `@forceInline @inline`).
196-
197191
<!--- (Commented out since the docs and implementation differ)
198192

199193
### Evaluation Rules

0 commit comments

Comments
 (0)