-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix BuildInfo scope in scala3-presentation-compiler
, improve debugging support
#18332
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
@@ -51,7 +54,7 @@ abstract class BasePCSuite extends PcAssertions: | |||
.newInstance("", myclasspath.asJava, scalacOpts.asJava) | |||
|
|||
protected def config: PresentationCompilerConfig = | |||
PresentationCompilerConfigImpl().copy(snippetAutoIndent = false) | |||
PresentationCompilerConfigImpl().copy(snippetAutoIndent = false, timeoutDelay = if isDebug then 3600 else 5) |
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.
Oh that's smart. I'll use the idea in other projects :)
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.
The code looks good. But I think the documentation part should appear earlier.
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.
LGTM
This should be backported as package name is changed, and it will be easier to backport future changes in presentation compiler. |
No description provided.