-
Notifications
You must be signed in to change notification settings - Fork 1.1k
It is possible to remove @experimental flag from scala.quoted.Quotes.CompilationInfoModule.XmacroSetting in next minor? #15637
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
Comments
I think there is some discussion still to be had about the implementation of this feature - such as if it should be stable in tasty |
Before we make this non-experimental we need to
|
Hmm, you mean that transparent and non-transparent macros invocations can be with different compiler options? |
The first issue I see is with non-transparent macros that might be recompiled from tasty files. This is not something we do often now but will become more useful un the future. |
Can we describe a problematic use case? I still need help getting one. Variants as I see now:
// In theory, it is possible to think about the 'environment' entity and support for storing the environment in Tasty in the future, but after the compiler will learn to check non-deterministic computations. If the problematic issue is a tool that recompiles code with a new environment from tasty files O'key, maybe we can warn about this in documentation as a tool limitation, but want our API to be deterministic?
|
Are we have some policy, when @experimental API becomes stable?
Thinking about waiting for CompilationInfo.XmacroSettings (if it will be available in 3.2) or doing some custom code generation or visibility from sbt instead (if not) for configurable macro.
The text was updated successfully, but these errors were encountered: