• Nate Bosch's avatar
    Handle onError callback with optional argument (#43436) · 7cf362fc
    Nate Bosch authored
    Check for a binary callback first since a function with an optional
    second argument will match both typedefs.
    
    Remove documentation around a synchronous error following some other
    error or value - a synchronous error can never follow a value or an
    asynchronous error. If there is a synchronous error it will _always_ be
    the first thing to happen.
    
    Add a test for a unary error handler and an error handler with an
    optional stack trace argument.
    7cf362fc
Name
Last commit
Last update
..
async_guard_test.dart Loading commit data...
build_test.dart Loading commit data...
common_test.dart Loading commit data...
context_test.dart Loading commit data...
file_system_test.dart Loading commit data...
fingerprint_test.dart Loading commit data...
flags_test.dart Loading commit data...
io_test.dart Loading commit data...
logger_test.dart Loading commit data...
logs_test.dart Loading commit data...
net_test.dart Loading commit data...
os_test.dart Loading commit data...
os_utils_test.dart Loading commit data...
process_test.dart Loading commit data...
signals_test.dart Loading commit data...
terminal_test.dart Loading commit data...
utils_test.dart Loading commit data...