Skip to content

Implement function canonicalization corner cases #46485

@eernstg

Description

@eernstg

The language team decided that function objects obtained from closurization or generic function instantiation of constant expressions should be canonicalized, cf. dart-lang/language#1686.

Implementations have actually done that already for many years now, except that there are some corner cases where canonicalization does not occur.

These cases are detected by failures in the tests added by https://dart-review.googlesource.com/c/sdk/+/202243.

Subtasks:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Epicarea-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).implementationTrack the implementation of a specific feature (use on area-meta issue, not issues for each tool)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions