Skip to content

Passing code to macro #2278

Closed
Closed
@ncannasse

Description

I often want to have a macro which can be user-customized. Currently we can pass constants to the macros but we cannot pass a class or a static method.

I give it a try today but it seems a bit hard to do. Another option is to use Reflection by allowing macro code to dynamically add new classes to its context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions