Closed mg3994 closed 1 month ago
@mg3994 Approved, 👍 but refactor it , also don't turn code in smaller chunks , in future API may change
We are continuing with the older approach as it is future-proof with the upcoming support for sealed classes. However, there are a few key concerns and issues that need to be addressed:
Covariant Usage: The covariant keyword is facing issues.
Same Augment Library Imports: covariant
makes same augment library imports with alias prefix
Private Class () Usage: The private class starts with/denoted by `` are facing issues.
This Source code show above is just a preview of development template only, it will not work
covariant
is enough for now , Dart Macros team is improving
That unnecessary import
, stay tuned for future ,
Closing it for now
Approved changements are only
_macros
from dart SDK, covariant
Approach With new dart sdk version sealed
classes are behaving correctly for augmented code in IDE without error ,may face error during build, dart team is working on that no worry
New Idea
New Update Soon
Todo
Features:
sealed
classes