X Tutup
Skip to content

fix(compiler): const is not supported in IE9 and IE10#4465

Closed
marclaval wants to merge 1 commit intoangular:masterfrom
marclaval:noConstInIE
Closed

fix(compiler): const is not supported in IE9 and IE10#4465
marclaval wants to merge 1 commit intoangular:masterfrom
marclaval:noConstInIE

Conversation

@marclaval
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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

@marclaval marclaval closed this in b44c13b Oct 2, 2015
@marclaval marclaval deleted the noConstInIE branch December 11, 2017 10:14
@angular-automatic-lock-bot
Copy link
Copy Markdown

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.

4 participants

X Tutup