-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
area:metaprogramming:otherIssues tied to metaprogramming/macros not covered by the other labels.Issues tied to metaprogramming/macros not covered by the other labels.itype:language enhancement
Milestone
Description
Compiler version
3.4.2
Minimized code
Import(Ident(???), List(GivenSelector()))
The apply
function on GivenSelector
or SimpleSelector
or RenameSelector
or OmitSelector
does not exist.
Workaround
val givenSelector = '{ import DummyImplicit.given; val _ = summon[DummyImplicit] }.asTerm match
case Inlined(_, _, Block(List(Import(_, List(givenSelector)), _), _)) => givenSelector
Import(Ident(???), List(givenSelector))
Expectation
We should have a way to create Selector
s
Thanks
Metadata
Metadata
Assignees
Labels
area:metaprogramming:otherIssues tied to metaprogramming/macros not covered by the other labels.Issues tied to metaprogramming/macros not covered by the other labels.itype:language enhancement