-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Support constant folding for s
, f
and raw
interpolators.
#10315
Comments
s
, f
and raw
intrpolators.s
, f
and raw
interpolators.
@nicolasstucki Say I want to tackle this, I have some questions regarding the implementation.
|
I must have looked at this on Mar 22 when I had less time. I think the answer to 3 must be that it should be normal constant folding, it's adding string constants. Getting the Scala 2 |
|
We should be able to constant fold
s
,f
andraw
interpolator with constant inputs.This would be useful when combined with inlining
A realistic use of this feature would be with the
scala.compiletime.error
method.This would need to happen when typing, probably in Inliner.
The text was updated successfully, but these errors were encountered: