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 resolver order #433

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

luxzeitlos
Copy link
Contributor

@luxzeitlos luxzeitlos commented Feb 18, 2018

Fix wrong used .reverse() in availableForType

beware: .reverse() does modify the original array! This can be prevented by creating a new array with [...arr].

Fixes #432

@luxzeitlos luxzeitlos force-pushed the fix-resolver-order branch 2 times, most recently from 5915871 to 35aa4c4 Compare February 18, 2018 22:34
Copy link
Collaborator

@davewasmer davewasmer left a comment

Choose a reason for hiding this comment

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

I can haz test plz?

@davewasmer
Copy link
Collaborator

Good catch! Any chance you'd be able to add a test for this?

@luxzeitlos
Copy link
Contributor Author

haz test now 🍵

@luxzeitlos
Copy link
Contributor Author

Whats the status here? this has been fixed on master independent of this PR. Maybe close the PR, or should I rebase to just take the test?

@knownasilya
Copy link
Member

Not sure if this is still needed. Looks like the reverse was removed from master.

@knownasilya
Copy link
Member

See b4ae232. Although tests weren't added there.

@knownasilya
Copy link
Member

Removed the fix but kept the test. Will see if it passes haha.

@knownasilya
Copy link
Member

Hum. Looks like travis isn't set up?

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.

None yet

3 participants