Skip to content

Type inference failure around closure argument types #3609

Closed
@nikomatsakis

Description

@nikomatsakis

This gist from jesse99 suggests a type inference failure:

https://gist.github.com/3795931

you have to add an explicit annot on the argument type to get it to work. this should not be necessary since the local variable was annotated. not sure what's going on here!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions