schultek / super_annotations

Write your code generation functions naturally alongside your normal code. Define and use custom annotations in the same file or project.
https://pub.dev/packages/super_annotations
MIT License
39 stars 5 forks source link

Not compatible with analyzer version > 4.6.0 #4

Closed nblum37 closed 2 years ago

nblum37 commented 2 years ago

Hi,

the package runs into errors, that visitRecordType is not implemented in the super_annotations code but is required by the analyzer package. I used super_annotations 0.5.0, build_runner 2.2.1, and analyzer 5.0.0.

BR :)

nblum37 commented 2 years ago

Probably, that might be the breaking analyzer commit https://github.com/dart-lang/sdk/commit/293c39cfce88982c153ed97874d7c6236c6c0289#diff-f6397b179a9bfe39634f47d8fafd58ec5c50d9cf9437f29deeabb3b6504bfb6e

schultek commented 2 years ago

Yes seems like an api change. I have to see how to support before and after.

schultek commented 2 years ago

Fixed in v0.6.0

nblum37 commented 2 years ago

It works :) Thank you!