Skip to content

[CP] [dart2wasm] Fix partial instantiation constants #56440

@mkustermann

Description

@mkustermann

Commit(s) to merge

f7fc4d0

Target

stable

Prepared changelist for beta/stable

https://dart-review.googlesource.com/c/sdk/+/380120

Issue Description

Using partial instantiation constants of generic methods with named parameters can in certain situations lead to compiler crashes.

What is the fix

Fix the code that handles partial instantiation constants in dart2wasm.

Why cherry-pick

Users have hit this problem.

Risk

If all tests pass: low.

Issue link(s)

#56372

Extra Info

No response

Metadata

Metadata

Labels

area-dart2wasmIssues for the dart2wasm compiler.cherry-pick-approvedLabel for approved cherrypick requestcherry-pick-reviewIssue that need cherry pick triage to approvetype-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