You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
implmeent AirframeMacros.shouldGenerateTrait(Type) for Scala 3
airframe-grpc also needs this fix
For example, we need to:
defregiterTraitFactory[A] = ... (macro impl)
// If A is a trait, create a factory to instantiate A. Writing this type of macros is not yet supported in Scala 3.1.x
registerTraitFactory(Surface.of[A}, { (s: Session) =>newA {} })
ClassDef.apply
andSymbol.newClass
scala/scala3#14124 Quotes: generate arbitrary trait or class implementations scala/scala3#11685 https://github.com/pomadchin/tagless-derivation/blob/5e9dc24686033cb93088e4c42519f295204f72df/src/main/scala/cats/tagless/macros/macroInvariantK.scalaFor example, we need to:
Fix Alias support in Surface. Related to https://twitter.com/exoego/status/1523469845676711936 (reported by @exoego )Alias is not related. airframe-surface: Do not traverse non-public constructor #2199 was the causeThe text was updated successfully, but these errors were encountered: