-
Notifications
You must be signed in to change notification settings - Fork 395
Do not (ab)use blocks for top level trees #4909
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
Conversation
CI only for now. While working on #4906, I have realized that we hold on to a lot of Javascript trees in the back end for the mere purpose of using their identity to find the already printed tree in the downstream cache. I want to attempt to print the trees eagerly so we can release that memory. However, for this I need to clean up the block stuff first. My plan is to make Emitter type parametric on the resulting tree so the BasicLinkerBackend can request a |
Is our CLA check broken? https://www.lightbend.com/contribute/cla/scala/check/gzm0 returns: {"user":"gzm0","signed":true,"version":"1.0","currentVersion":"1.0"} |
Well:
|
Looks like certificates might be missing in the chain sent from the sever:
|
I have the USERTrust RSA CA in my cert store (/etc/ssl) but not the Sectigo RSA Domain Validation Secure Server CA. Probably Chrome has that one built in 🤷 |
It's on Lightbend's side apparently: scala/scala-dev#855 |
0d49e7d
to
83b69fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I have two coding style nits, but otherwise LGTM.
} yield ( | ||
// Real constructor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum this goes a bit outside the style guide. If the body of a yield
spans multiple lines, it should have {}
:
} yield ( | |
// Real constructor | |
} yield { | |
// Real constructor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just that by itself will not compile because of the blank line before // Inheritable Constructor
. The ::
before the blank line is then interpreted as postfix operator.
Options I see:
- Leave it like this.
- Curly braces without the blank line
- Parens inside the curly braces (either with nesting or on the same line).
I have gone with the last option for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum I see. In that case ideally it should be:
} yield {
(
...
...
)
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
No description provided.