We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
a7f00e2 (main)
//> using option -Xprint:inlining inline def twice(inline thunk: =>Unit): Unit = thunk thunk inline def pipe(inline t: =>Unit, inline f: (=>Unit) => Unit): Unit = f(t) @main def test = pipe(println("foo"), twice)
@main def test: Unit = { val thunk: Unit = println("foo") { thunk thunk }:Unit }:Unit
@main def test: Unit = { def thunk: Unit = println("foo") { thunk thunk }:Unit }:Unit
The text was updated successfully, but these errors were encountered:
Fix by-name parameter in beta-reduction
0b512d6
Fixes scala#20095
Fix by-name parameter in beta-reduction (#20096)
3bf44f1
Fixes #20095
d02a03f
Fixes #20095 [Cherry-picked 0b512d6]
nicolasstucki
Successfully merging a pull request may close this issue.
Compiler version
a7f00e2 (main)
Minimized code
Output
Expectation
The text was updated successfully, but these errors were encountered: