Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
Strong mode: _MultiplexRawReceivePort.handler
Browse files Browse the repository at this point in the history
RawReceivePort declares the handler setter as taking a Function.
  • Loading branch information
cbracken committed Aug 18, 2016
1 parent 3974727 commit 8858a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/raw_receive_port_multiplexer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class _MultiplexRawReceivePort implements RawReceivePort {

_MultiplexRawReceivePort(this._multiplexer, this._id, this._handler);

void set handler(void handler(response)) {
void set handler(Function handler) {
this._handler = handler;
}

Expand Down

0 comments on commit 8858a12

Please sign in to comment.