Skip to content

Conversation

@anatoliykmetyuk
Copy link
Contributor

It was needed to make Dotty cross-compile to Scala 2
before full bootstrap. Its direct semantics
is about adding the inline flag to a symbol
annotated by it. inline flag, however, is listed as
one of the flags that are not supposed to be modified
by completion of symbols. Hence, having forceInline
annotation is in violation of our own assumptions
about completion. Before full bootstrap, we were not
able to drop this annotation, however, now that we
have the full bootstrap, we can do it.

It was needed to make Dotty cross-compile to Scala 2
before full bootstrap. Its direct semantics
is about adding the `inline` flag to a symbol
annotated by it. `inline` flag, however, is listed as
one of the flags that are not supposed to be modified
by completion of symbols. Hence, having `forceInline`
annotation is in violation of our own assumptions
about completion. Before full bootstrap, we were not
able to drop this annotation, however, now that we
have the full bootstrap, we can do it.
@anatoliykmetyuk anatoliykmetyuk merged commit e7f67c7 into scala:master Oct 30, 2019
@anatoliykmetyuk anatoliykmetyuk deleted the remove-forceinline branch October 30, 2019 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants