Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Self-execute closures for assert()#46

Merged
srawlins merged 1 commit intogoogle:masterfrom
srawlins:bool-asserts
Jan 9, 2018
Merged

Self-execute closures for assert()#46
srawlins merged 1 commit intogoogle:masterfrom
srawlins:bool-asserts

Conversation

@srawlins
Copy link
Contributor

@srawlins srawlins commented Jan 8, 2018

The dart language will soon stop accepting closures into assert: dart-lang/sdk#30326

This PR changes the asserts in observable to self-execute it's closures, so that a mere bool is passed to assert().

@srawlins srawlins merged commit 8a225cb into google:master Jan 9, 2018
@srawlins srawlins deleted the bool-asserts branch January 9, 2018 01:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants