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

[WEB] 'DillClassBuilder' is not a subtype of type 'SourceClassBuilder' #40966

Closed
Solido opened this issue Sep 20, 2019 · 13 comments · Fixed by #40979
Closed

[WEB] 'DillClassBuilder' is not a subtype of type 'SourceClassBuilder' #40966

Solido opened this issue Sep 20, 2019 · 13 comments · Fixed by #40979
Labels
c: crash Stack traces logged to the console platform-web Web applications specifically tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@Solido
Copy link
Contributor

Solido commented Sep 20, 2019

Flutter 1.10.5-pre.28 • channel master • https://github.com/flutter/flutter.git
Framework • revision 6911a15 (il y a 4 heures) • 2019-09-19 10:48:57 -0700
Engine • revision 1cada0a
Tools • Dart 2.6.0 (build 2.6.0-dev.0.0 ea969c358e)

dartdevc -k arguments: --dart-sdk-summary=/Users/robbie/INSTALL/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill --modules=amd --no-summarize -o packages/path_forms/expert/individual/forms/code/code_field_state.ddc.js --source-map --summary=packages/meta/meta.ddc.dill=packages/meta/meta --summary=packages/mobx/mobx.ddc.dill=packages/mobx/mobx --summary=packages/path_forms/mobx/error_context.ddc.dill=packages/path_forms/mobx/error_context --summary=packages/path_forms/mobx/field_state.ddc.dill=packages/path_forms/mobx/field_state --packages=file:///var/folders/jl/c9_s07wd0wq2t8d2ph18vgn40000gn/T/kernel_builder_lB8vLb/.packages --module-name=packages/path_forms/expert/individual/forms/code/code_field_state --multi-root-scheme=org-dartlang-app --multi-root=. --track-widget-creation --inline-source-map --libraries-file=file:///Users/robbie/INSTALL/flutter/bin/cache/flutter_web_sdk/libraries.json package:path_forms/expert/individual/forms/code/code_field_state.g.dart package:path_forms/expert/individual/forms/code/code_field_state.dart
dart --version: 2.6.0-dev.0.0.flutter-ea969c358e (Wed Sep 18 23:54:26 2019 +0000) on "macos_x64"

Crash when compiling null,
at character offset null:
type 'DillClassBuilder' is not a subtype of type 'SourceClassBuilder'
#0 KernelTarget.installForwardingConstructors (package:front_end/src/fasta/kernel/kernel_target.dart:469:37)
#1 KernelTarget.installSyntheticConstructors (package:front_end/src/fasta/kernel/kernel_target.dart:409:11)
#2 KernelTarget.buildOutlines. (package:front_end/src/fasta/kernel/kernel_target.dart:270:7)

#3 withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)

#4 KernelTarget.buildOutlines (package:front_end/src/fasta/kernel/kernel_target.dart:251:12)

Thanks !

@escamoteur
Copy link
Contributor

@Solido there is a newer version on master. Could you try that?

@escamoteur escamoteur added waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds platform-web Web applications specifically tool Affects the "flutter" command-line tool. See also t: labels. c: crash Stack traces logged to the console labels Sep 20, 2019
@Solido
Copy link
Contributor Author

Solido commented Sep 20, 2019

Updated 4 hours ago. I'm on master, 2 upgrade per day. Updating now !
Web is first citizen with this project even if we use an Ipad to get faster.
Thanks @escamoteur

Result is IDEM with last update

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 20, 2019
@Solido
Copy link
Contributor Author

Solido commented Sep 20, 2019

@pavanpodila This may concern MobX too

@pavanpodila
Copy link

@Solido is it related to codegen?

@Solido
Copy link
Contributor Author

Solido commented Sep 20, 2019

No idea ! but it's linked to MobX Form in some way.

Maybe we should start some more simple samples to see where it fails precisely.

@pavanpodila
Copy link

pavanpodila commented Sep 20, 2019

Ah got it. Thanks for being the brave explorer on flutter web :-) I'll take a look next week

@escamoteur
Copy link
Contributor

@Solido so we wait till you have more information

@escamoteur escamoteur added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 20, 2019
@jonahwilliams
Copy link
Member

cc @jakemac53 this happened when we updated build_runner dependencies, not sure why yet:

https://github.com/flutter/flutter/pull/40979/files#diff-ccd13eb4cfb3b033c92487b8a9175a34

@jakemac53
Copy link
Contributor

I can't think of anything specific that has changed relating to this - it seems like a kernel issue?

@jakemac53
Copy link
Contributor

cc @jensjoha

@Solido
Copy link
Contributor Author

Solido commented Sep 23, 2019

Hi @jonahwilliams

Updated to last master but still got is there a coming update ?

Thank you !

Crash when compiling null,
at character offset null:
type 'DillClassBuilder' is not a subtype of type 'SourceClassBuilder'
#0      KernelTarget.installForwardingConstructors (package:front_end/src/fasta/kernel/kernel_target.dart:469:37)
#1      KernelTarget.installSyntheticConstructors (package:front_end/src/fasta/kernel/kernel_target.dart:409:11)
#2      KernelTarget.buildOutlines.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:270:7)
<asynchronous suspension>
#3      withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
<asynchronous suspension>
#4      KernelTarget.buildOutlines (package:front_end/src/fasta/kernel/kernel_target.dart:251:12)

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 23, 2019
@no-response no-response bot reopened this Sep 23, 2019
dart-bot pushed a commit to dart-lang/sdk that referenced this issue Sep 24, 2019
…om dill

Fixes flutter/flutter#40966.

Change-Id: Idf3febc50b5c8d637e9f3f43e8bd3e6b8bdee2fd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118444
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
@jensjoha
Copy link
Contributor

Fixed in dart with dart-lang/sdk@fdda272.

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: crash Stack traces logged to the console platform-web Web applications specifically tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants