Reflectable is a Dart library that allows programmers to eliminate certain usages of dynamic reflection by specialization of reflective code to an equivalent implementation using only static techniques. The use of dynamic reflection is constrained in order to ensure that the specialized code can be generated and will have a reasonable size.
The analyzer changed in several ways, and this migration gave rise to many changes. In particular, mixins and enums are no longer represented as ClassElements with an isEnum and an isMixin, and this causes many changes to types and type tests.
287, #289 will be released first, but this one is still needed because we have to stop using a bunch of APIs that are deprecated (and indeed deleted from analyzer 5.0.0).
@sigurdm, this one is rather long (a whole bunch of methods have been deprecated in the analyzer). Would it be possible for you to find the time to review it?
The analyzer changed in several ways, and this migration gave rise to many changes. In particular, mixins and enums are no longer represented as
ClassElement
s with anisEnum
and anisMixin
, and this causes many changes to types and type tests.