BREAKING CHANGE: Math object has been removed from corelib

New change, more work !! We now have to change Math callers from SDK dart:core to dart:math.

Hi all,

we just removed the Math object from corelib in bleeding_edge. Use the dart:math library to get the same functionality. This change will likely break a lot of code. The easy fix is usually to put in #import(‘dart:math’, prefix: ‘Math’) where the Math object was used. This will not work for calls to Math.random() though.

Let us know if you notice something that breaks with the change.

Thanks, — Mads Ager.


 Google+