Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug dart run realm generate #1803

Open
wozpi opened this issue Oct 20, 2024 · 2 comments
Open

Bug dart run realm generate #1803

wozpi opened this issue Oct 20, 2024 · 2 comments

Comments

@wozpi
Copy link

wozpi commented Oct 20, 2024

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

Copy link

sync-by-unito bot commented Oct 20, 2024

➤ PM Bot commented:

Jira ticket: RDART-1106

@NabilaWorks
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants