Commit Graph

2763 Commits

Author SHA1 Message Date
Vladimir Matveev
364cd1146b move temp declarations out of object literal 2015-06-08 18:31:56 -07:00
Daniel Rosenwasser
6b77c24753 Merge pull request #3365 from Microsoft/painInTheASI
Parse namespaces/types aliases/interfaces/ambient declarations only when they cannot be legal JS
2015-06-08 10:27:15 -07:00
Vladimir Matveev
00e28ff8a3 added tests 2015-06-04 22:22:25 -07:00
Vladimir Matveev
6269598c52 Merge branch 'master' into named_modules 2015-06-04 21:38:25 -07:00
Daniel Rosenwasser
18bd849ac7 Accepted baselines. 2015-06-04 17:45:04 -07:00
Daniel Rosenwasser
aef9edf014 Added test regarding 'declare' keyword as beginning of statement expression. 2015-06-04 17:43:28 -07:00
Daniel Rosenwasser
534105cfe5 Accepted new baselines. 2015-06-04 15:09:09 -07:00
Daniel Rosenwasser
8af07ee0c0 Accepted baselines. 2015-06-04 14:20:29 -07:00
Daniel Rosenwasser
8c422af4bc Added tests for interfaces and tagged templates. 2015-06-04 14:20:14 -07:00
Cyrus Najmabadi
2de07f3563 Merge branch 'master' into lightMode
Conflicts:
	src/compiler/program.ts
2015-06-04 12:47:12 -07:00
Vladimir Matveev
d51d616813 merge with master 2015-06-04 10:57:34 -07:00
Vladimir Matveev
b76cc37560 added missing semicolon after calling exporter function 2015-06-04 10:52:43 -07:00
Cyrus Najmabadi
2bf19e80c3 Speed up tests by not type-checking lib.d.ts unless the test asks for that. 2015-06-04 01:03:02 -07:00
Jason Freeman
abf18c5a11 Merge branch 'release-1.5' 2015-06-03 17:56:53 -07:00
Jason Freeman
26cf97430e Accept baselines for parenthesized type assertions 2015-06-03 17:22:51 -07:00
Jason Freeman
7a74d9f8d0 Add tests for parenthesized type assertions 2015-06-03 17:22:38 -07:00
Cyrus Najmabadi
f526a1b0ff Merge branch 'master' into taggedAny 2015-06-03 16:47:07 -07:00
Cyrus Najmabadi
b5077bf372 Remove HarnessDiagnostics. Just use the normal ts Diagnostic instead. 2015-06-03 16:28:14 -07:00
Cyrus Najmabadi
7ca13ee945 Check for 'any' only by using the flag, not by checking for instance equality. 2015-06-03 15:06:58 -07:00
Vladimir Matveev
7e3a3f45e1 emit module name for system modules, add moduleName argument to 'transpile' function 2015-06-03 14:55:42 -07:00
Anders Hejlsberg
87d43aa6f5 Merge branch 'master' into circularInstantiatedTypes
Conflicts:
	src/compiler/checker.ts
	src/compiler/types.ts
2015-06-03 14:13:16 -07:00
Jason Freeman
34a5514fef Rename new test 2015-06-03 13:36:52 -07:00
Jason Freeman
9394c5ca04 Add test for object literal methods 2015-06-03 13:36:51 -07:00
Jason Freeman
46da6678ad Return expressions always need to be type checked 2015-06-03 13:36:49 -07:00
Daniel Rosenwasser
3cd480ddb6 Accepted baselines. 2015-06-03 12:05:53 -07:00
Jason Freeman
bf95bff6c1 Merge pull request #3353 from Microsoft/errorMessageTypo
Fix error message typo
2015-06-03 10:54:32 -07:00
Jason Freeman
f390133a12 Rename new test 2015-06-02 18:21:39 -07:00
Jason Freeman
f66b9c5d77 Fix error message typo 2015-06-02 18:13:39 -07:00
Jason Freeman
eb7290eb70 Add test for object literal methods 2015-06-02 18:06:05 -07:00
Mohamed Hegazy
6902b050ca Respond to code review comments 2015-06-02 18:04:05 -07:00
Mohamed Hegazy
c83054cd4b Merge branch 'release-1.5' into filterTranspileDiagnostics 2015-06-02 18:01:05 -07:00
Jason Freeman
1bd7f5274a Return expressions always need to be type checked 2015-06-02 17:34:24 -07:00
Daniel Rosenwasser
70f74ad640 Accepted more baselines. 2015-06-02 17:31:20 -07:00
Daniel Rosenwasser
77306a3ea6 Added more tests. 2015-06-02 17:11:08 -07:00
Zhengbo Li
ea2c9e876f Merge pull request #3307 from zhengbli/ms_master
Add APIs to provide project info for a given file
2015-06-02 16:31:39 -07:00
Daniel Rosenwasser
448e8bf0c7 Added baselines. 2015-06-02 15:47:23 -07:00
Daniel Rosenwasser
e93b7a75ce Added tests. 2015-06-02 15:42:24 -07:00
Zhengbo Li
a7550dbba1 CR feedback 2015-06-02 15:25:01 -07:00
CyrusNajmabadi
f624c0fd7e Merge pull request #3296 from Microsoft/jsDocClassification
Add syntactic classification for doc comments.
2015-06-02 15:17:39 -07:00
Cyrus Najmabadi
8fcd29f843 Adding tests. 2015-06-02 15:00:39 -07:00
Daniel Rosenwasser
4d8d1cc956 Merge pull request #3347 from Microsoft/irregularExpressionCompletion
Block completion when in the flags of a regular expression
2015-06-02 14:15:47 -07:00
Daniel Rosenwasser
80e055740f Merge pull request #3348 from Microsoft/fixResolutionForFuncExprsClassExprsAndArgumentsForMaster
Fix resolution of named function & class expressions as well as 'arguments' (for master branch)
2015-06-02 13:56:51 -07:00
Cyrus Najmabadi
be97bd250c Merge branch 'master' into jsDocClassification 2015-06-02 13:48:56 -07:00
Daniel Rosenwasser
8b63795a55 Added test where one trailing flag exists. 2015-06-02 13:41:45 -07:00
Daniel Rosenwasser
a71a826b5b Use declared variables to confirm completion. 2015-06-02 13:40:38 -07:00
Daniel Rosenwasser
068a4f3fc3 Accepted baselines. 2015-06-02 13:03:22 -07:00
Daniel Rosenwasser
0229788c65 Added another test. 2015-06-02 13:03:19 -07:00
Daniel Rosenwasser
2b20d3092b Accepted baselines. 2015-06-02 13:03:16 -07:00
Daniel Rosenwasser
e800e29af7 Accepted baselines for the only test that was expected to pass. 2015-06-02 13:01:18 -07:00
Daniel Rosenwasser
21256a9de5 Added tests. 2015-06-02 13:01:15 -07:00