You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Dart 2.0.0 on Mac, and trying to finish up https://github.com/angel-dart/eventsource.
However, I get an error on startup. I think this should be pretty easy to patch up; would you mind if I sent in a PR to correct it?
Here's the error:
(virtualenv_py3) wg-dhcp201d207d109:eventsource thosakwe$ dart example/main.dart
file:///Users/thosakwe/.pub-cache/hosted/pub.dartlang.org/eventsource-0.2.0/lib/publisher.dart:109:23: Error: The argument type 'eventsource.src.proxy_sink::ProxySink<dynamic>' can't be assigned to the parameter type 'dart.core::Sink<eventsource.src.event::Event>'.
Try changing the type of the parameter, or casting the argument to 'dart.core::Sink<eventsource.src.event::Event>'.
_cache.replay(sub, lastEventId, channel);
^
The text was updated successfully, but these errors were encountered:
I'm running Dart
2.0.0
on Mac, and trying to finish up https://github.com/angel-dart/eventsource.However, I get an error on startup. I think this should be pretty easy to patch up; would you mind if I sent in a PR to correct it?
Here's the error:
The text was updated successfully, but these errors were encountered: