Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is -Yretain-trees still poised to be enabled by default in the future? #16176

Unanswered
neko-kai asked this question in Metaprogramming
Discussion options

We're porting a DSL to Scala 3 that requires inspecting the tree surrounding the macro call - and so requires -Yretain-trees to work consistently. I've been wary of using -Yretain-trees, but ran into this comment by @nicolasstucki saying that -Yretain-trees might eventually be enabled by default.
Is that still planned to happen? Would it be ok to require -Yretain-trees from users for now until it's enabled by default, or better find another way / change the DSL so that it's not required, because -Yretain-trees by default may not happen?

You must be logged in to vote

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

I have the same question as any project using avro4s needs this option enabled to provide default values to Avro schema

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /