181efd76ee
Also treat null errors comming out of Zone.errorCallback as NullThrownError. This should prevent, as was always the intention, any async error from having a null value. This is important for async/await syntax, where the distinction between sync and async errors is removed. (For Dart 2.0, we could just make null throwable). R=sgjesse@google.com Review URL: https://codereview.chromium.org//598993002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40673 260f80e4-7a28-3924-810f-c04153c831b5