Tags: johnsonmh/source_gen
Tags
Use ParsedLibraryImpl to find source span (dart-lang#396) The old code path does not work when the ElementAnnotation was returned by an `AnalysisDriver` instead `AnalysisContext`. Prepare for `build_resolvers` to switch to `AnalysisDriver` by migrating to a forwards compatible approach.
Add LibraryReader.enums (dart-lang#389) Fixes dart-lang#388 Deprecate the `classElements` getter since it is ambiguous, both classes and enums are represented by `ClassElement` in analyzer, but we don't want to exclusively always mix them in this interface. Add the name `classes` to be more specific. Add an implementation for `enums.`
dont create invalid parts, and allow analyzer 0.34.x (dart-lang#386) * dont create invalid parts, and allow analyzer 0.34.x * fix tests to match the new behavior
PreviousNext