Skip to content

Missing static type checking in for-in loops #78

@kasperl

Description

@kasperl

What steps will reproduce the problem?

  1. Run the code in http://try.dartlang.org/s/F-MX.

What is the expected output? What do you see instead?
I expect to get a static type warning (int is not assignable to String) in the for-in loop, but the static type checker does not report any warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions