Can Scala macros access the expected return type of an application, e.g. getting `Foo` given
val x: Foo = myMacroApplication
/cc @xeno_by
-
-
Replying to @propensive
@propensive not at the moment. What use case do you have in mind?2 replies 0 retweets 0 likes -
Replying to @eugene_burmako
@xeno_by Just a whimsical experiment! I'd like to be able to write `val x: Foo = instantiate` and have it call Foo's constructor.2 replies 0 retweets 0 likes -
This Tweet is unavailable.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.