Skip to content

Customer-reported issue with NNBD migration tool #44345

Closed
@escamoteur

Description

@escamoteur

Hi,
I'm stuck while trying to port my package functional_listener to NNB.
you can find the curenty state here:

https://github.com/escamoteur/functional_listener/tree/null-safety

Working with the tool was fine, but now not all tests work and even compile anymore what they did before.
The tool again added some strange down casts on lambda functions.

I have no idea why the `debounceTest' doesn't work anymore.

some of the tests threw late initialization errors

Please have a look at it and tell me what to do. The code is easy to overview.

  • Dart SDK Version (dart --version)
    Dart SDK version: 2.12.0-76.0.dev (dev) (Wed Nov 25 05:22:28 2020 -0800) on "windows_x64"
[√] Flutter (Channel master, 1.24.0-8.0.pre.375, on Microsoft Windows [Version 10.0.19041.630], locale de-DE)
    • Flutter version 1.24.0-8.0.pre.375 at C:\Entwicklung\Flutter
    • Framework revision a7f5fd5360 (5 hours ago), 2020-11-30 13:14:13 +0100
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    NNBDIssues related to NNBD ReleaseP2A bug or feature request we're likely to work onarea-migration (deprecated)Deprecated: this label is no longer actively used (was: issues with the `dart migrate` tool).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions