Chromium Code Reviews
DescriptionAdd missing null-tests to async error functions.
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
Committed: https://code.google.com/p/dart/source/detail?r=40673
Patch Set 1 #
Total comments: 8
Patch Set 2 : Switched to async NullThrownErrors. #Patch Set 3 : Update test expecting null error to throw #Patch Set 4 : co19 expectation changed - not throwing on null error. #Patch Set 5 : Add co19 issue number to status file. #
Messages
Total messages: 7 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||