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

fix incorrect error path in schedule #31812

Merged
merged 1 commit into from
Apr 24, 2019
Merged

fix incorrect error path in schedule #31812

merged 1 commit into from
Apr 24, 2019

Conversation

JeffBezanson
Copy link
Member

This was trying to call its boolean argument instead of throwing the intended error.

@fredrikekre fredrikekre merged commit 4c30076 into master Apr 24, 2019
@fredrikekre fredrikekre deleted the jb/scheduleerror branch April 24, 2019 10:05
@@ -457,12 +457,12 @@ true
"""
function schedule(t::Task, @nospecialize(arg); error=false)
Copy link
Member

Choose a reason for hiding this comment

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

Should the error keyword be constrained to being ::Bool?

KristofferC pushed a commit that referenced this pull request May 9, 2019
@KristofferC KristofferC mentioned this pull request May 9, 2019
58 tasks
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.

5 participants