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

Use verbose error message when redeclaring an imported function (#54) #55

Merged
merged 1 commit into from
Apr 14, 2018
Merged

Use verbose error message when redeclaring an imported function (#54) #55

merged 1 commit into from
Apr 14, 2018

Conversation

seanpoulter
Copy link
Contributor

When a user declares a variable that conflicts with one of Ramda's imported functions, the error message will now say:

ramda: Cannot redeclare "${ramdaFn}" that has already been imported from Ramda

This will close issue #54.


I think the changes are good to go but two tests are failing locally on master and this branch.Not sure if you or TravisCI will have the same issues:

screen shot 2018-03-30 at 13 21 34

@buzzdecafe
Copy link
Member

hi thanks and sorry for the delay. i will try to get to this this weekend. a bit swamped atm, thanks for your understanding

@seanpoulter
Copy link
Contributor Author

No sorrows Michael, and thanks for the heads up. Let me know if you want a call if it'd make it any easier.

@buzzdecafe
Copy link
Member

if you don't hear anything by sunday pinging would probably be a good idea

@buzzdecafe
Copy link
Member

gonna try and get a look at this tonight. thanks for your patience

@buzzdecafe
Copy link
Member

ok finally getting to this! this looks like a great change, thanks. I am also getting those test errors. I am gonna spend a (very) little amount of time trying to get those fixed up, then will be happy to merge this. Thanks for the PR and sorry for the delay

@buzzdecafe
Copy link
Member

ok will leave the tests aside for now, not sure what borked those, but clearly not this PR's responsibility

@buzzdecafe buzzdecafe merged commit 97f672f into ramda:master Apr 14, 2018
@buzzdecafe
Copy link
Member

🐄

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.

2 participants