[macro] Declaring typedef not working and ruins macro generation #59717
Labels
area-pkg
Used for miscellaneous pkg/ packages not associated with specific area- teams.
feature-macros
Implementation of the macros feature
pkg-json
The json macro package
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
When trying to declare a simple
typedef
generation stops attypede
when typing and ruins macros generation at a whole, so nothing works unless this statement is removed/commented out.For example:
builder.declareType('Test', DeclarationCode.fromString('typedef Test = int;'));
Dart version: 3.6.0 (same behavior was on 3.5.3 as well)
The text was updated successfully, but these errors were encountered: