Skip to content

[doc] wording, parameter inline modifier #7337

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 9 commits into from
Sep 30, 2019
Merged

Conversation

robstoll
Copy link
Contributor

@robstoll robstoll commented Sep 28, 2019

Maybe this is only of a personal taste. When I first read "can be marked inline" then I thought about an annotation. Since there is @inline it could be overlooked. Thus I suggest we rephrase it to "can have an inline modifier".

I rewrote final val to val as far as I understood this will no longer be supported in the future. I am not sure if the examples are still valid without the final though

Maybe this is only of a personal taste. When I first read "can be marked `inline`" then I thought about an annotation. Since there is `@inline` it could be overlooked. Thus I suggest we rephrase it to "can have an `inline` modifier".
@robstoll
Copy link
Contributor Author

Out of curiosity, what import is needed for code"..." (as shown in the error section) to work ?

@nicolasstucki
Copy link
Contributor

import scala.compiletime.code

Co-Authored-By: Nicolas Stucki <nicolas.stucki@gmail.com>
robstoll and others added 4 commits September 29, 2019 22:32
Co-Authored-By: Nicolas Stucki <nicolas.stucki@gmail.com>
Co-Authored-By: Nicolas Stucki <nicolas.stucki@gmail.com>
Co-Authored-By: Nicolas Stucki <nicolas.stucki@gmail.com>
Co-Authored-By: Nicolas Stucki <nicolas.stucki@gmail.com>
@nicolasstucki
Copy link
Contributor

Thanks @robstoll

@nicolasstucki nicolasstucki merged commit 1df2fce into scala:master Sep 30, 2019
@robstoll
Copy link
Contributor Author

@nicolasstucki thanks for your time, next time I won't change something I am not sure about (e.g. remove final)

@robstoll robstoll deleted the patch-15 branch February 27, 2020 10:32
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