Skip to content

pin return type from downwards inference #27933

Closed
@jmesserly

Description

@jmesserly

along the lines of #27917, it would be nice if downwards inference required the return type to be exactly the context type, rather than a strong type.

I attempted to implement this (it is a trivial one line change after https://codereview.chromium.org/2456803004 lands) however it causes inference failures in some packages like stack_trace and unittest, not to mention in DDC and Analyzer code bases themselves. Because of that, it may be best to roll out independently of the above patch.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onlegacy-area-analyzerUse area-devexp instead.type-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