liufengyun / gestalt

gestalt : portable and solid macros for Scala
https://github.com/scalacenter/macros
31 stars 3 forks source link

Tree, Type and TypeTree #1

Closed liufengyun closed 7 years ago

liufengyun commented 7 years ago

This is one of the divergence points between scala.reflect and scala.meta. The former has the Tree/TypeTree/Type separation, whereas the latter merges all three into one concept.

Some observations from my experience with scala.reflect:

liufengyun commented 7 years ago

This is a very good question about user experience. I'd like to come back to it later, as it doesn't influence feasibility of the current approach, but more of a design choice.