11c5bd3d11
This makes new Future.of(func) equivalent to new Future.immediate(null).then((_) => func()) which should kill that idiom. Review URL: https://codereview.chromium.org//12091105 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17979 260f80e4-7a28-3924-810f-c04153c831b5