Bug dart run realm generate
Opened this issue · 3 comments
What happened?
INFO] Precompiling build script......
[WARNING] ../../../../.pub-cache/hosted/pub.dev/realm_generator-20.0.0/lib/src/pseudo_type.dart:16:7: Error: The non-abstract class 'PseudoType' is missing implementations for these members:
- DartType.element3
Try to either - provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.
class PseudoType extends TypeImpl {
^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/analyzer-6.11.0/lib/dart/element/type.dart:53:17: Context: 'DartType.element3' is defined here.
Element2? get element3;
^^^^^^^^
[INFO] Precompiling build script... completed, took 896ms
[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
Repro steps
run dart run realm generate
Version
Flutter 3.27.0-1.0.pre.120
What Atlas Services are you using?
Local Database only
What type of application is this?
Flutter Application
Client OS and version
mac os 14.1.2
Code snippets
No response
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response
➤ PM Bot commented:
Jira ticket: RDART-1106
@wozpi seems like it's caused by analyzer: 6.10.0
and above.
As a temporary workaround does downgrading to analyzer: 6.9.0
work for you in terms of compilation?
Thanks
Solution:
dev_dependencies:
analyzer: 6.9.0