Problem with let in safari
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- build-system
Research direction
Reproduce the Meteor application’s production build with the --production flag and inspect the generated code shown in the report. Compare the Safari failure with the Chrome and Firefox results, then trace why a let declaration remains in the ES5 output. Done means the transpilation behavior is explained and a focused fix or confirmed upstream limitation is documented.
Written by the indexing model from the issue text.
Description
Hi, im having some trouble with transpiling my code to ES5. When i build with --production flag my meteor application it runs OK on chrome and firefox, but when i run it on safari it returns this error:
"SyntaxError: Cannot declare a let variable twice: 'e'."
In this place of the code ( which is some meteor code )

I know this error is a bug already reported from safari, but my question is: the let statement is a ES2015 feature, why is it not being transpiled to a var?
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from meteor/ecmascript-runtime
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
meteor/ecmascript-runtime#12 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in meteor/ecmascript-runtime
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100