We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I thought this might be the same / related to #95 or #116, but still happens in 0.6.17.
I have the following in my app:
import { updateMeeting } from 'minutebase/use-cases/meeting'; export function setupAgenda(meeting) { return updateMeeting(meeting); };
Which is being transpiled to:
define('minutebase/use-cases/agenda', ['exports', 'ember', 'minutebase/use-cases/meeting'], function (exports, Ember, meeting) { 'use strict'; exports.setupAgenda = setupAgenda; function setupAgenda(meeting) { return meeting.updateMeeting(meeting); } });
Notice that there's an imported meeting and a local meeting which tramples on it so meeting.updateMeeting is undefined.
meeting
meeting.updateMeeting
undefined
Should the imported name be mangled/prefixed in some way to lessen the chance of a collision?
The text was updated successfully, but these errors were encountered:
tests for #119
9aea3d2
Merge pull request #132 from esperantojs/gh-119
3da1f63
Prevent function arguments shadowing imports
@rlivsey Thanks for the test case, this is fixed in 0.6.23. Sorry for the delay
Sorry, something went wrong.
No branches or pull requests
I thought this might be the same / related to #95 or #116, but still happens in 0.6.17.
I have the following in my app:
Which is being transpiled to:
Notice that there's an imported
meeting
and a localmeeting
which tramples on it someeting.updateMeeting
isundefined
.Should the imported name be mangled/prefixed in some way to lessen the chance of a collision?
The text was updated successfully, but these errors were encountered: