JsonCodable Causes Compilation Error When Field's Type Has Custom Json implementation #59771
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)
JsonCodable causes a compilation issue when used with another macro introduces valid
toJson
andfromJson
methods.Example here: https://github.com/mcmah309/algebraic_types/blob/65044fa18988a6cadd346f88648933070d60330f/serde_test/dart/bin/dart.dart
Run command
Run command
If you comment out these lines https://github.com/mcmah309/algebraic_types/blob/65044fa18988a6cadd346f88648933070d60330f/serde_test/dart/bin/dart.dart#L6-L12 the code compiles and succeeds.
Dart info:
The text was updated successfully, but these errors were encountered: