Commit Graph

19046 Commits

Author SHA1 Message Date
Anders Hejlsberg 582d8b8fc8 Implement tuple types as type references to synthesized generic types 2016-08-21 16:18:45 -07:00
zhengbli a8ab52fd57 Use TS parser to tolerate more errors in tsconfig.json 2016-08-20 20:47:35 -07:00
zhengbli b2074172e1 Add test for configFile error tolerance 2016-08-20 20:47:30 -07:00
zhengbli 84386f9d3b Tolerate certain errors in tsconfig.json 2016-08-20 20:46:56 -07:00
zhengbli 6d2323b0d8 Simplify implementation 2016-08-20 20:41:47 -07:00
zhengbli e445e012c4 Add test for jsdoc syntactic classification for function declaration 2016-08-20 20:41:33 -07:00
Zhengbo Li 66f6f9ba05 Merge pull request #10458 from zhengbli/betterTestForModuleExportDOc
Add more test for #10426
2016-08-20 20:39:33 -07:00
zhengbli 794d3e91d0 routine update of dom libs 2016-08-20 20:35:58 -07:00
Yuichi Nukiyama dc7b18e4e2 fix some errors 2016-08-21 11:42:41 +09:00
zhengbli eeec775da0 Add more test for 10426 2016-08-20 19:12:11 -07:00
Justin Bay f11fef6b4c Update error code number 2016-08-20 21:29:33 -04:00
Justin Bay 5a65e08827 Merge remote-tracking branch 'microsoft/master' into better-type-as-value-error
# Conflicts:
#	src/compiler/diagnosticMessages.json
2016-08-20 21:20:38 -04:00
Yuichi Nukiyama bc0c137a89 remove extra code 2016-08-20 21:36:17 +09:00
Yuichi Nukiyama 0c01874b31 follow advise 2016-08-20 21:24:46 +09:00
Ron Buckton ab2750a631 Improves Promise type definition.
Fixes #4903
2016-08-20 00:39:41 -07:00
Yuichi Nukiyama 37a9e6a9cc fix linting error 2016-08-20 13:44:09 +09:00
Yuichi Nukiyama 806e142cbf Add error message
Add error message when trying to relate primitives to the boxed/apparent
backing types.
2016-08-20 12:36:57 +09:00
Yui c05a866739 Update LKG on 08/19 (#10445) 2016-08-19 18:06:31 -07:00
Yui 7b6846d1c1 Merge master to release-2.0 on 08/19 (#10444)
* Add test case for #8229

* Do not report errors during contextual typecheck
Fixes #8229

* Handle the scenario when let [a=undefined]=[]

* Don't allow `.ts` to appear in an import

* Add specific error message for unwanted '.ts' extension

* Allow `await` in a simple unary expression

* More tests

* Forbid `await await`

* Allow `await await`

* Improve error message

* Don't allow ".d.ts" extension in an import either.

* Rename 'find' functions

* Move supportedTypescriptExtensionsWithDtsFirst next to supportedTypeScriptExtensions and rename

* Fix comment

* Treat special property access symbol differently
... when retriving documentation

* Fix tests

* Update shim version to be 2.1 (#10424)

* Check return code paths on getters (#10102)

* Check return paths on getters

* Remove TODO comment

* Remove extraneous arguments from harness's runBaseline (#10419)

* Remove extraneous arguments from runBaseline

* Address comments from @yuit

* Remove needless call to basename

* Refactor baseliners out of compiler runner (#10440)

* CR feedback

* fix broken tests

* Pass in baselineOpts into types baselines so that RWC baselines can be written to internal folder (#10443)
2016-08-19 17:55:27 -07:00
Vladimir Matveev 41b61cbc1e merge with origin/master 2016-08-19 17:36:02 -07:00
Richard Knoll 0ebd19618d Fixing regex for triple slash references 2016-08-19 17:17:49 -07:00
Zhengbo Li d8ab098195 Merge pull request #10426 from zhengbli/9518
Treat special property access symbol differently when retriving documentation
2016-08-19 17:09:25 -07:00
Richard Knoll 00facc2084 Removing hasProperty check 2016-08-19 17:06:59 -07:00
Yui a531b87b3c Pass in baselineOpts into types baselines so that RWC baselines can be written to internal folder (#10443) 2016-08-19 17:06:05 -07:00
Richard Knoll 473be82572 Merge remote-tracking branch 'origin/master' into import_completions_pr 2016-08-19 16:59:48 -07:00
zhengbli a5bb13f6c1 fix broken tests 2016-08-19 16:53:36 -07:00
Richard Knoll cf7feb3faa Responding to PR feedback 2016-08-19 16:49:55 -07:00
zhengbli 057357be88 CR feedback 2016-08-19 15:48:46 -07:00
Vladimir Matveev 9189846e43 move module resolution to core.ts 2016-08-19 15:44:56 -07:00
Wesley Wigham 8ad2744e9a Refactor baseliners out of compiler runner (#10440) 2016-08-19 15:44:14 -07:00
Ryan Cavanaugh def29f6062 Merge pull request #10439 from RyanCavanaugh/fixJakeBaselineAccept
Properly move baseline files
2016-08-19 15:10:10 -07:00
Ryan Cavanaugh 6c60e5b105 Remove needless call to basename 2016-08-19 14:34:14 -07:00
Wesley Wigham da6d95101f Remove extraneous arguments from harness's runBaseline (#10419)
* Remove extraneous arguments from runBaseline

* Address comments from @yuit
2016-08-19 13:56:27 -07:00
Wesley Wigham 0168ab2051 Check return code paths on getters (#10102)
* Check return paths on getters

* Remove TODO comment
2016-08-19 13:34:06 -07:00
Vladimir Matveev 683d6ef6e1 merge with origin/master 2016-08-19 13:15:59 -07:00
Vladimir Matveev b81b2baff6 fix linter issues 2016-08-19 11:55:29 -07:00
Yui 7f6e36c7e1 Update shim version to be 2.1 (#10424) 2016-08-19 10:03:23 -07:00
Andy Hanson 949c517fdd Add multiMapAdd helper 2016-08-19 07:15:19 -07:00
Andy d2d5d42359 Merge pull request #9646 from Microsoft/no_ts_extension
Don't allow `.ts` to appear in an import
2016-08-19 06:49:33 -07:00
Andy 19cde060b9 Merge pull request #9890 from Microsoft/cast_of_await
Allow `await` in a simple unary expression
2016-08-19 06:49:16 -07:00
Andy Hanson b482fa58f4 Merge branch 'master' into cast_of_await 2016-08-19 06:16:57 -07:00
Andy Hanson b452469419 Fix tests 2016-08-19 06:14:28 -07:00
Andy Hanson 297cb50cbf Merge branch 'master' into no_ts_extension 2016-08-19 06:11:46 -07:00
Vladimir Matveev a1da7709f8 propagate debug/inspect flags to typingsInstaller process 2016-08-18 23:41:48 -07:00
Vladimir Matveev 875e62cc75 remove compression 2016-08-18 17:14:56 -07:00
zhengbli 03dcdda443 Treat special property access symbol differently
... when retriving documentation
2016-08-18 17:12:40 -07:00
Mohamed Hegazy a621c09606 Merge pull request #8241 from Microsoft/noImplicitAnyDestructuring
Do not report errors of implicit any during contexual type checking of binding pattern element
2016-08-18 16:18:52 -07:00
Mohamed Hegazy 78f259340a Merge branch 'master' into release-2.0 2016-08-18 16:17:18 -07:00
Vladimir Matveev 37f26cba57 add missing methods 2016-08-18 15:36:15 -07:00
Mohamed Hegazy c7c3158ef3 Update LKG 2016-08-18 15:05:43 -07:00