Skip to content

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.

3 participants