Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Should infer types for inline functions to avoid spurious DynamicInvoke #9

Closed
jacob314 opened this issue Dec 23, 2014 · 1 comment
Closed

Comments

@jacob314
Copy link
Contributor

Repro

List nums = [1,-2,-3,4]
nums.forEach((num) {
var abs = num.abs(); // DownCast as we don't infer num is an int.
print("Abs value = $abs");
});

@vsmenon
Copy link
Contributor

vsmenon commented Aug 12, 2015

This is a dup of #203

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

No branches or pull requests

2 participants