• 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
..
flutter Loading commit data...
flutter_driver Loading commit data...
flutter_goldens Loading commit data...
flutter_goldens_client Loading commit data...
flutter_localizations Loading commit data...
flutter_test Loading commit data...
flutter_tools Loading commit data...
flutter_web_plugins Loading commit data...
fuchsia_remote_debug_protocol Loading commit data...
analysis_options.yaml Loading commit data...