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

Add check for unconditional recursion, to error if we forget to implement a function #156

Merged
merged 1 commit into from Mar 26, 2020

Conversation

@asajeffrey
Copy link
Member

asajeffrey commented Mar 25, 2020

At the moment, if a back end forgets to implement one of the trait functions, surfman still builds, but goes into an infinite loop when the function is called. This has bitten me more than once, but is easy to protect against.

@asajeffrey asajeffrey force-pushed the asajeffrey:ban-unconditional-recursion branch from 699c1a8 to d106629 Mar 26, 2020
@jdm
Copy link
Member

jdm commented Mar 26, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Mar 26, 2020

📌 Commit d106629 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Mar 26, 2020

Testing commit d106629 with merge 1884273...

@bors-servo
Copy link
Contributor

bors-servo commented Mar 26, 2020

☀️ Test successful - checks-travis
Approved by: jdm
Pushing 1884273 to master...

@bors-servo bors-servo merged commit 1884273 into servo:master Mar 26, 2020
2 checks passed
2 checks passed
Travis CI - Pull Request Build Passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.