You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generating migration suggestions...
[------------ ]Aborting migration due to an exception. This most likely is due to a
bug in the migration tool. Please consider filing a bug report at:
To attempt to perform migration anyway, you may re-run with
--ignore-exceptions.
Exception details:
type 'MixinElementImpl' is not a subtype of type 'ClassElement' in type cast at offset 4331 in /Users/nguonpisey/VSCodeProjects/kofi_flutter_app/lib/app/modules/home/controller/home_controller.dart (@OverRide void dispose() {WidgetsBinding.instance.removeObserver(this); super.dispose();})
nguonpisey@nguons-MacBook-Pro kofi_flutter_app % dart migrate
Migrating /Users/nguonpisey/VSCodeProjects/kofi_flutter_app
See https://dart.dev/go/null-safety-migration for a migration guide.
Analyzing project...
[------------------------------------------------------------------------------------------------------------------------------------------------------------|]No analysis issues found.
Generating migration suggestions...
[------------ ]Aborting migration due to an exception. This most likely is due to a
bug in the migration tool. Please consider filing a bug report at:
https://github.com/dart-lang/sdk/issues/new
Please include the SDK version (2.19.6) in your bug report.
To attempt to perform migration anyway, you may re-run with
--ignore-exceptions.
Exception details:
type 'MixinElementImpl' is not a subtype of type 'ClassElement' in type cast at offset 4331 in /Users/nguonpisey/VSCodeProjects/kofi_flutter_app/lib/app/modules/home/controller/home_controller.dart (@OverRide void dispose() {WidgetsBinding.instance.removeObserver(this); super.dispose();})
#0 EdgeBuilder._handleExecutableOverriddenDeclaration (package:nnbd_migration/src/edge_builder.dart:2774:62)
#1 EdgeBuilder._handleExecutableDeclaration (package:nnbd_migration/src/edge_builder.dart:2694:13)
#2 EdgeBuilder.visitMethodDeclaration (package:nnbd_migration/src/edge_builder.dart:1393:5)
#3 MethodDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:8533:50)
#4 EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2375:24)
#5 EdgeBuilder._dispatchList (package:nnbd_migration/src/edge_builder.dart:2393:7)
#6 EdgeBuilder.visitClassOrMixinOrExtensionDeclaration (package:nnbd_migration/src/edge_builder.dart:717:7)
#7 EdgeBuilder.visitClassDeclaration (package:nnbd_migration/src/edge_builder.dart:676:5)
#8 ClassDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:2000:50)
#9 EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2375:24)
#10 EdgeBuilder.visitNode (package:nnbd_migration/src/edge_builder.dart:1567:9)
#11 GeneralizingAstVisitor.visitCompilationUnit (package:analyzer/dart/ast/visitor.dart:216:52)
#12 CompletenessTracker.visitCompilationUnit. (package:nnbd_migration/src/utilities/completeness_tracker.dart:52:24)
#13 PermissiveModeVisitor.reportExceptionsIfPermissive (package:nnbd_migration/src/utilities/permissive_mode.dart:26:24)
#14 CompletenessTracker.visitCompilationUnit (package:nnbd_migration/src/utilities/completeness_tracker.dart:43:5)
#15 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2501:50)
#16 NullabilityMigrationImpl.processInput (package:nnbd_migration/src/nullability_migration_impl.dart:224:12)
#17 NonNullableFix.processUnit (package:nnbd_migration/src/front_end/non_nullable_fix.dart:162:16)
#18 _FixCodeProcessor.runLaterPhases. (package:nnbd_migration/migration_cli.dart:1088:19)
#19 _FixCodeProcessor.processResources (package:nnbd_migration/migration_cli.dart:1020:26)
#20 _FixCodeProcessor.runLaterPhases (package:nnbd_migration/migration_cli.dart:1086:5)
#21 MigrationCliRunner.run (package:nnbd_migration/migration_cli.dart:695:24)
#22 MigrateCommand.run (package:dartdev/src/commands/migrate.dart:37:7)
#23 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
#24 DartdevRunner.runCommand (package:dartdev/dartdev.dart:241:18)
#25 runDartdev (package:dartdev/dartdev.dart:65:18)
#26 main (file:///opt/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart:11:3)
nguonpisey@nguons-MacBook-Pro kofi_flutter_app %
The text was updated successfully, but these errors were encountered: