Skip to content

Drop forceInline annotation #7475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 30, 2019

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