Commit graph

33 commits

Author SHA1 Message Date
Yui T
cb48a5e110 Add testcases 2015-01-09 16:16:39 -08:00
Anders Hejlsberg
3e436c5047 Adding new tests 2014-12-12 14:34:12 -08:00
Anders Hejlsberg
b416cbc599 Merge branch 'master' into spreadAndRest
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/parser.ts
2014-12-12 14:32:53 -08:00
Anders Hejlsberg
86a9c80ff8 Adding tests and accepting new baselines 2014-12-12 10:56:22 -08:00
Daniel Rosenwasser
9ad6eb21ed Merge pull request #1341 from Microsoft/escapingTheTemplateOfDoom
Template string escaping fixes
2014-12-10 16:29:00 -08:00
Anders Hejlsberg
816abb19e4 Merge branch 'master' into destructuring
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/emitter.ts
	src/compiler/parser.ts
	src/compiler/types.ts
	src/services/navigationBar.ts
	tests/baselines/reference/assignmentLHSIsValue.errors.txt
	tests/baselines/reference/objectTypesWithOptionalProperties.errors.txt
	tests/baselines/reference/parserErrorRecovery_ParameterList2.errors.txt
2014-12-03 16:43:01 -08:00
Anders Hejlsberg
65d1510769 Adding rudimentary tests 2014-12-02 16:23:37 -08:00
Daniel Rosenwasser
4c4e5a43e0 Added multiline tests. 2014-12-02 13:54:10 -08:00
Daniel Rosenwasser
ddb3ca0f48 Augment escapeString to fix downlevel template literal emit. 2014-12-01 17:27:11 -08:00
Daniel Rosenwasser
9da7287eaa Merge pull request #1275 from Microsoft/unterminator
Keep track of unterminated literal expressions.
2014-12-01 12:57:33 -08:00
Yui T
7ec49fd80e Merge branch 'master' into binaryIntegerLiteral
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/emitter.ts
	tests/baselines/reference/objectTypesWithOptionalProperties.errors.txt
2014-12-01 11:22:37 -08:00
Yui T
db51fbd65c Add check and testcases for invalid binary digits and octal digits 2014-11-29 17:03:38 -08:00
Cyrus Najmabadi
29ced53a4d Add parser tests for let/const. 2014-11-28 14:50:58 -08:00
Daniel Rosenwasser
ae384470a4 Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
Jason Freeman
f6266fc99e Checker refactor for FunctionLike and VariableOrProperty 2014-11-25 16:09:05 -08:00
Jason Freeman
2bc1f4f4fa Update error codes 2014-11-25 16:09:03 -08:00
Jason Freeman
0e864143de Emit tests for computed properties 2014-11-25 16:08:58 -08:00
Cyrus Najmabadi
3b253e9a4a Add an _es6 suffix to prevent name collisions. 2014-11-24 22:53:55 -08:00
Cyrus Najmabadi
78cd1b5f7e Parser tests for generators and yield expressions. 2014-11-24 22:40:54 -08:00
Yui T
169bc219f2 Merge branch 'binaryIntegerLiteral' of https://github.com/Microsoft/TypeScript into binaryIntegerLiteral 2014-11-24 18:38:03 -08:00
Yui T
5774e64d92 Add test cases 2014-11-23 18:05:21 -08:00
Daniel Rosenwasser
f51a42c6de Fixed issue where template expression in call expressions would emit with unnecessary parentheses.
Fixes #1205.
2014-11-19 17:04:34 -08:00
Yui T
1b66ee6f3a Merge branch 'master' into shorthandProperty
Conflicts:
	src/compiler/checker.ts
2014-11-17 11:35:02 -08:00
Yui T
880e958d11 Fix comment 2014-11-14 16:30:03 -08:00
Yui T
03e0722927 Add test cases and rename test files 2014-11-14 15:44:06 -08:00
Yui T
bb7a0aa9d9 Add conformance tests 2014-11-11 11:31:45 -08:00
Daniel Rosenwasser
bcddb101aa Proper type arg inference with apppropriate overload res tests. 2014-11-05 18:20:40 -08:00
Daniel Rosenwasser
56027663bf Initial work on overload resolution with tagged templates.
Currently type argument inference breaks hard when the first parameter of a tag has a generic type.
2014-11-04 15:05:05 -08:00
Daniel Rosenwasser
b8535d339c Omit empty template tail literals. 2014-10-28 18:47:43 -07:00
Daniel Rosenwasser
799609c8e8 Tests for tagged templates. 2014-10-23 17:31:12 -07:00
Daniel Rosenwasser
a5b77c65f6 Added tests for tagged templates. Some should fail when we do typechecking. 2014-10-23 16:57:17 -07:00
Daniel Rosenwasser
0d1a46d68c Better test coverage for templates in object literals.
These tests still need to be fixed.
2014-10-23 16:55:35 -07:00
Daniel Rosenwasser
c0893e153f Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00