Chromium Code Reviews
DescriptionFix type annotation in _FileBase._exceptionFromResponse
ArgumentError is not a subtype of Exception, which leads to confusing errors in checked mode:
Expected future to complete successfully, but it failed with type 'ArgumentError' is not a subtype of type 'Exception' of 'function result'.
Stack trace:
#0 _FileBase._exceptionFromResponse (dart:io:1032:48)
#1 _RandomAccessFile.writeString.<anonymous closure> (dart:io:1491:37)
#2 _FutureImpl.transform.<anonymous closure> (bootstrap:855:37)
Committed: https://code.google.com/p/dart/source/detail?r=14243
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||