Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

support type deduction from left to right #8

kazuho opened this Issue Jun 1, 2012 · 1 comment


None yet
1 participant

kazuho commented Jun 1, 2012

Things like below would become possible, once we support deducting type from left-hand side to right-hand side.

  • using a name of an overloaded function as an argument of a call expression would not result in an error
    -- currently, the overload should be resolved by using the as operator
  • a.forEach(function (e/* : element_type_can_be_omitted /)/ : and_the_return_type_as_well */ { ... })

kazuho commented Jun 18, 2012


@kazuho kazuho closed this Jun 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment