Skip to content

scala.quoted.Quotes.reflectModule.SymbolModule is incomplete #18404

Open
@rcano

Description

@rcano

Compiler version

latest nightly and prior.

Problem

In order to create new symbols, we must use Symbol api, when augmenting a class in an annotation macro, there's no way to add new members to its symbol because there's no right way to copy the original attributes, for instance flags are missing, there's no direct primary constructor (maybe this is supposed to be a decl method with flags). Ironically, the newModule method does allow you to pass the flags for the class.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions