Skip to content

Fixes #1577 #1581

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

Merged
merged 2 commits into from
Jan 6, 2015
Merged

Fixes #1577 #1581

merged 2 commits into from
Jan 6, 2015

Conversation

Arnavion
Copy link
Contributor

Apologies for the combinatorial explosion of tests but it was the easiest way to be sure.

Tests are for binary expressions of each type - same precedence (+, -), greater precedence (*) and lower precedence (&), for both outside and inside the template expression.

Emit was verified by running both ES5 emit and the original TS in Firefox Nightly (since it supports template strings) and comparing the results (both valid and invalid).

@JsonFreeman
Copy link
Contributor

👍

@Arnavion
Copy link
Contributor Author

Arnavion commented Jan 6, 2015

Rebased onto latest master (no changes).

@DanielRosenwasser
Copy link
Member

👍 Thanks!

(While it gets hard to figure out what should go in which file, it's ideal to break up the tests in the future.)

@DanielRosenwasser DanielRosenwasser merged commit 7a8e3ec into microsoft:master Jan 6, 2015
@Arnavion Arnavion deleted the 1577-templatestring-subtraction branch January 9, 2015 09:44
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants