Skip to content

new lookup system seems to miss reexports/canonicalization of function typedefs #2711

Open
@jcollins-g

Description

@jcollins-g

This results in some ambiguity as in this case for flutter:

  warning: reference lookup resolution differs between lookup implementations:  [WidgetBuilder] => new: element: [framework.WidgetBuilder] warn: true old: element: [widgets.WidgetBuilder] warn: true
    from cupertino.CupertinoApp.routes: (file:///Users/jcollins/dart/flutter/packages/flutter/lib/src/cupertino/app.dart:249:37)
    from documentation for symbol cupertino.CupertinoApp.routes: (file:///Users/jcollins/dart/flutter/packages/flutter/lib/src/cupertino/app.dart:249:37)

This can be worked around by specifying the correct library, but is not ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ontype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions