Generated Class From Macro Not Resolved When Used As Function Argument #59772
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
cfe-feature-macros
Implement macros features in the CFE
triage-automation
See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
A generated class from a macro is not resolved when used as a function argument
Example Here: https://github.com/mcmah309/algebraic_types/blob/17cd50aaccc62340cecb78e8c4848fcfd8dbfa17/serde_test/dart/bin/dart.dart#L41
dart run --enable-experiment=macros
But when not used as a function argument, it compiles and runs fine
Example: https://github.com/mcmah309/algebraic_types/blob/63d61af6a428f7af04e1ca3f0421e6474c4f2c42/serde_test/dart/bin/dart.dart#L31-L48
out:
Dart info:
The text was updated successfully, but these errors were encountered: