-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add the ability to read more environmet information. (list of compiler plugins, target JVM version) #18074
rssh
started this conversation in
Feature Requests
add the ability to read more environmet information. (list of compiler plugins, target JVM version)
#18074
-
Motivation - let us have a macro with functionality, which have sense only if an appropriative compiler plugin is enabled.
Examples of use cases:
- async macro can call direct-style methods marked by context parameters only if the appropriate compiler plugin is in the same run.
- async macro can use the loom subsystem for transforming HO. method if target JVM is >= 21
- macro can generate places for inserting instrumentation calls by instrumentation plugin if one is enabled.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Interested too. I am currently writing a macro that would only make sense is Capture Checking is activated.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment