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.

Post wrote by Moisés Belchín

2 comentarios en “BREAKING CHANGE: Math object has been removed from corelib

  1. Pingback: CAMBIO IMPORTANTE: Math eliminado de la corelib « About Google DART

  2. Pingback: CAMBIO IMPORTANTE: Math eliminado de la corelib « Moises Belchin

Los comentarios están cerrados.