-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
Description
Could it make sense, to allow allowing the generated code to have the "inline" modifier on some of the variables?
i.e. allow generating;
case object BuildInfo {
inline val scalaVersion: String = "2.10.3"
}
With the downstream usecase being scala 3's https://docs.scala-lang.org/scala3/guides/macros/inline.html#inline-matches?
Disclaimer : I have not thought this through carefully - although I assume "compile" comes after the stage this is run, so it could be possible?