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(compiler): const is not supported in IE9 and IE10 #4465

Closed
wants to merge 1 commit into from

Conversation

marclaval
Copy link
Contributor

With the new compiler, 4 unit tests are failing in these browsers.
The reason is that they don't support const, see https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Instructions/const

As far as I can see, the TS compiler transforms all const into var.
@tbosch Would it be an issue to do the same in our compiler when targeting JS please?

@marclaval marclaval force-pushed the noConstInIE branch 2 times, most recently from 12d68a7 to 1290a2e Compare October 2, 2015 13:01
@marclaval marclaval added the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 2, 2015
@tbosch
Copy link
Contributor

tbosch commented Oct 2, 2015

Hi Marc, this looks good.
Could you rebase?

@tbosch tbosch added pr_state: LGTM action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 2, 2015
@tbosch tbosch assigned marclaval and unassigned tbosch Oct 2, 2015
@tbosch tbosch added the action: merge The PR is ready for merge by the caretaker label Oct 2, 2015
@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Oct 2, 2015
@mary-poppins
Copy link

Merging PR #4465 on behalf of @tbosch to branch presubmit-tbosch-pr-4465.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews cla: yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants