Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few changes #25

Closed
wants to merge 5 commits into from
Closed

Few changes #25

wants to merge 5 commits into from

Conversation

modulovalue
Copy link
Contributor

No description provided.

Copy link
Owner

@spebbe spebbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks -- looks great! I made some comments. The clincher is Dart 1 compatibility, which I had hoped to retain for a while longer.

@@ -94,10 +94,12 @@ class None<A> extends Option<A> {
@override int get hashCode => 0;
}

Option<A> none<A>() => new None();
Option<A> none<A>([dynamic _]) => new None();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hehe! Let me digest this for a while. It feels wrong, but I'm not sure why yet :-)

lib/src/unsafe/io.dart Outdated Show resolved Hide resolved
@modulovalue
Copy link
Contributor Author

I'll close this. Extension methods and a custom package have removed the need for these changes for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants