Skip to content

Commit fc2a505

Browse files
committed
Flatten the tasty.Reflection cake
Using the cake pattern made it easy to split and keep into smaller files. But this comes at a cost: * Extra bridges * Not knowing where to find stuff * Hard to update * Inability to use opaque types and proper extension methods The downside is that we will have a larger `Reflection.scala` file, but it will be proportional to the size of `CompilerInterface.scala` which has been easier to manage than the cake. Note: `scala.tasty.Reflection` did not have any API changes.
1 parent 0b3627e commit fc2a505

20 files changed

+3009
-3053
lines changed

library/src/scala/tasty/Reflection.scala

Lines changed: 3009 additions & 23 deletions
Large diffs are not rendered by default.

library/src/scala/tasty/reflect/CommentOps.scala

Lines changed: 0 additions & 18 deletions
This file was deleted.

library/src/scala/tasty/reflect/ConstantOps.scala

Lines changed: 0 additions & 30 deletions
This file was deleted.

library/src/scala/tasty/reflect/ContextOps.scala

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)