Commit Graph

1976 Commits

Author SHA1 Message Date
Arthur Ozga
3bc2aa91c6 fix merge conflicts with master 2015-06-09 12:53:40 -07:00
Jason Freeman
75ed565f81 Don't consume 'is' keyword if there is a preceding line terminator 2015-06-09 11:12:00 -07:00
Anders Hejlsberg
cd59573908 Merge branch 'master' into genericTypeAliases
Conflicts:
	src/compiler/checker.ts
2015-06-09 06:28:56 -07:00
Tingan Ho
efb701387e Merge commits from master 2015-06-09 07:43:05 +08: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
Tingan Ho
51a43dd9d5 Addresses CR feedback 2015-06-08 13:34:49 +08:00
Tingan Ho
b1a8a5fe66 Addresses CR feedback 2015-06-07 22:16:09 +08:00
Anders Hejlsberg
7c2a3c256d Modifying test a bit 2015-06-06 17:54:11 -07:00
Anders Hejlsberg
33517c4635 Adding test as suggested in CR feedback 2015-06-06 17:47:22 -07:00
Tingan Ho
487dff564f Fixes CR feedback 2015-06-06 13:59:19 +08:00
Anders Hejlsberg
bcdbc98dac Adding simple tests 2015-06-05 14:50:15 -07:00
Tingan Ho
fa9a914648 Adds error for non-return positioned type predicates and changed parse type predicate logic 2015-06-05 16:36:02 +08: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
aef9edf014 Added test regarding 'declare' keyword as beginning of statement expression. 2015-06-04 17:43:28 -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
Tingan Ho
19e725636e Adds PR feedback and removed references to typeguard (class) methods 2015-06-04 19:31:16 +08: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
7a74d9f8d0 Add tests for parenthesized type assertions 2015-06-03 17:22:38 -07:00
Cyrus Najmabadi
b5077bf372 Remove HarnessDiagnostics. Just use the normal ts Diagnostic instead. 2015-06-03 16:28:14 -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
Tingan Ho
b7d1df68fb Adds type guard methods 2015-06-03 16:58:56 +08:00
Tingan Ho
f8e2b99b6c Adds tests 2015-06-03 16:58:56 +08:00
Jason Freeman
f390133a12 Rename new test 2015-06-02 18:21: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
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
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
0229788c65 Added another test. 2015-06-02 13:03:19 -07:00
Daniel Rosenwasser
21256a9de5 Added tests. 2015-06-02 13:01:15 -07:00
Daniel Rosenwasser
0a3cbe083b Added tests. 2015-06-02 12:58:49 -07:00
Daniel Rosenwasser
d1b3ac7c12 Merge pull request #3288 from Microsoft/fixResolutionForFuncExprsClassExprsAndArguments
Fix resolution of named function & class expressions as well as 'arguments'
2015-06-02 12:57:05 -07:00