File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
docs/docs/reference/metaprogramming Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -188,12 +188,6 @@ backend to inline code. The `inline` modifier is a more powerful option:
188
188
- expansion happens in the frontend instead of in the backend and
189
189
- expansion also applies to recursive methods.
190
190
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
-
197
191
<!--- (Commented out since the docs and implementation differ)
198
192
199
193
### Evaluation Rules
You can’t perform that action at this time.
0 commit comments