mobx.dart icon indicating copy to clipboard operation
mobx.dart copied to clipboard

analyzer > 4.3.0 has deprecated method

Open amondnet opened this issue 3 years ago • 0 comments

cd mobx_codegen
dart analyze --fatal-warnings --fatal-infos .
   info • lib/src/type_names.dart:77:28 • 'element' is deprecated and shouldn't be used. Check for specific DartType subtype and use element2 instead. Try replacing the use of the
          deprecated member with the replacement. • deprecated_member_use
   info • lib/src/type_names.dart:82:59 • 'enclosingElement' is deprecated and shouldn't be used. Use enclosingElement3 instead. Try replacing the use of the deprecated member with
          the replacement. • deprecated_member_use

analyzer 4.3.0

  • Deprecated LibraryElement.imports, use libraryImports instead.
  • Deprecated Element.enclosingElement, use enclosingElement2 instead.

analyzer 4.4.0

  • Deprecated Element.enclosingElement2, use enclosingElement3 instead. The meaningful change is that ConstructorElement.enclosingElement3 returns now IntefaceElement, not ClassElement. ...

amondnet avatar Aug 08 '22 01:08 amondnet