Commit Graph

12444 Commits

Author SHA1 Message Date
Mohamed Hegazy 0ad494cedb Remove require name collision check for ES6 modules and later 2016-09-14 18:01:54 -07:00
Anders Hejlsberg bbf80a733c Merge pull request #10920 from Microsoft/fixLiteralUnionInference
Fix literal union type inference
2016-09-14 17:48:17 -07:00
Richard Knoll ea3752aa18 Merge remote-tracking branch 'origin/master' into go_to_implementation_pr
Refactored goToImplementation out of services
2016-09-14 17:25:56 -07:00
Ron Buckton 21c2c893b9 Merge pull request #10926 from Microsoft/fix10862
Fix super in down-level async method
2016-09-14 17:15:51 -07:00
Kanchalai Tanglertsampan 7fd5699511 Merge branch 'release-2.0' into release-2.0.5 2016-09-14 16:57:59 -07:00
Nathan Shively-Sanders e2ff42f453 Add comment explaining a magic constant in parser 2016-09-14 16:25:17 -07:00
Ryan Cavanaugh d37391fcfc Allow type and NS references to UMD globals from modules
Fixes #10638
2016-09-14 16:11:23 -07:00
Ryan Cavanaugh 9e6116851f Allow type and NS references to UMD globals from modules
Fixes #10638
2016-09-14 15:56:43 -07:00
Anders Hejlsberg 832295d8b0 Address CR feedback 2016-09-14 14:58:39 -07:00
Paul van Brenk e9178a5975 Merge pull request #10885 from Microsoft/navtosinglefile
Implement NavigateTo for single files, instead of the project.
2016-09-14 14:28:36 -07:00
Andy 42515c717d Merge pull request #10510 from Microsoft/import_directory
An import ending in "/" is always an import of a directory.
2016-09-14 14:07:11 -07:00
Richard Knoll b6f7dd7981 More PR feedback 2016-09-14 13:57:17 -07:00
Mohamed Hegazy 9cabffe5db Merge branch 'release-2.0' into release-2.0_fix10625 2016-09-14 13:36:07 -07:00
Ron Buckton e50105bd9e Fix super in down-level async method 2016-09-14 13:33:06 -07:00
Yui T 14b59b23e7 Address PR 2016-09-14 13:30:15 -07:00
Mohamed Hegazy b6aeaab019 Update version 2016-09-14 13:13:34 -07:00
Ron Buckton ad6782a806 Fix test issues due to an out of order merge 2016-09-14 12:48:59 -07:00
Ron Buckton 3e1da93d6e Merge pull request #10448 from Microsoft/improvePromiseType
Improve Promise type definition
2016-09-14 11:58:25 -07:00
Yui T 332b3165c3 Emit declaration file which inferred type alias with its value 2016-09-14 11:54:17 -07:00
Ryan Cavanaugh 4e46b9711e Merge pull request #10877 from RyanCavanaugh/disallowBadCommas
Disallow bad comma left operands
2016-09-14 11:18:56 -07:00
Gabe Moothart 2468d440d9 Add readonly typings for Set and Map
Similar to ReadonlyArray, these typings remove the mutation methods from Set and Map so that they can only be initialized by the constructor.
2016-09-14 11:06:28 -07:00
Anders Hejlsberg e9ad5daddc Match number and string literal types to number and string in inference 2016-09-14 10:29:51 -07:00
Mohamed Hegazy 5e3e0d6188 Merge pull request #10900 from Microsoft/quick_info_tests
Simplify quick-info tests
2016-09-14 10:05:36 -07:00
Rostislav Galimsky 9ff425b574 Fix issue 10843 2016-09-14 20:05:12 +03:00
Ryan Cavanaugh 6a899721ba Lint 2016-09-14 10:02:00 -07:00
Ryan Cavanaugh a399e8dc6d Fix merge conflict 2016-09-14 09:51:56 -07:00
Nathan Shively-Sanders ab98dcf6e8 Merge pull request #10899 from Microsoft/two-small-gulp-fixes
Add stackTraceLimit; update harness/tsconfig.json
2016-09-14 08:07:49 -07:00
Andy f00d3fcede Merge pull request #9897 from Microsoft/umd_export
Clarify code checking for UMD exports...
2016-09-14 06:25:49 -07:00
Andy Hanson 0f51bdbb4f Rename function and use directorySeparator variables 2016-09-14 06:21:07 -07:00
Mohamed Hegazy 2f9879c45e Update other defintions of findIndex 2016-09-13 22:41:40 -07:00
Mohamed Hegazy d42dbfa317 Merge branch 'sergey-shandar-findindex' of https://github.com/sergey-shandar/TypeScript into sergey-shandar-sergey-shandar-findindex 2016-09-13 22:36:15 -07:00
Mohamed Hegazy 5367249e20 Merge branch 'fixUnionTypeCallSignature' of https://github.com/erictsangx/TypeScript into erictsangx-fixUnionTypeCallSignature 2016-09-13 22:26:48 -07:00
Mohamed Hegazy 7fb0e15042 Use diffrent error message for namespaces unexported members 2016-09-13 21:59:18 -07:00
Mohamed Hegazy 94ddbb580b Merge branch 'change_unexposed_error_message' of https://github.com/YuichiNukiyama/TypeScript into YuichiNukiyama-change_unexposed_error_message 2016-09-13 20:59:15 -07:00
Mohamed Hegazy 542a2a0002 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2016-09-13 20:52:06 -07:00
Mohamed Hegazy cb9cacfad2 Merge branch 'master' of https://github.com/gnalck/TypeScript into gnalck-master 2016-09-13 20:51:20 -07:00
Mohamed Hegazy 6dfe55e539 Merge pull request #10902 from Microsoft/FixIOCapture
Fix build tasks for iocapture
2016-09-13 20:25:05 -07:00
Richard Knoll 4a37fd7bcf More PR feedback 2016-09-13 17:33:49 -07:00
Anders Hejlsberg 8079b8d31d Merge pull request #10881 from Microsoft/typeAssertionInitializers
Type assertion in initializer suppresses literal widening
2016-09-13 16:33:11 -07:00
Ryan Cavanaugh def9ed459d Merge branch 'master' into disallowBadCommas 2016-09-13 16:20:45 -07:00
Zhengbo Li 3c20df5e93 Create folders for sys.writeFile if folder doesn't exist (#10848)
* Create folders for sys.writeFile

* Use project root path for emit output file name

* Normalize project file path for external projects

* Patch writeFile for all sys implementations

* Use the original file for single inferred project case

* recursive create directory for all sys implementations
2016-09-13 16:20:42 -07:00
Mohamed Hegazy 5a378b72b1 Fix build error caused by merge 2016-09-13 16:18:13 -07:00
Zhengbo Li 2ca9953235 Support compile on save for inferred projects (#10847)
* Support compile on save for inferred projects

* Rename to remove the "VS" prefix
2016-09-13 16:14:55 -07:00
Vladimir Matveev d14183c5a1 merge with origin/release-2.0.5 2016-09-13 15:59:04 -07:00
Ryan Cavanaugh 537fee191c Resolve diagnostics conflict 2016-09-13 15:13:24 -07:00
Ron Buckton 02334d8523 Merge pull request #10890 from Microsoft/fix10889
Fix captured block scope variables in downlevel async.
2016-09-13 14:31:34 -07:00
Mohamed Hegazy 873850b99e Merge pull request #9941 from Microsoft/configuration-inheritance
Configuration Inheritance
2016-09-13 14:30:36 -07:00
Mohamed Hegazy e6479334e1 Merge pull request #10333 from jwbay/better-type-as-value-error
Add clearer error message when types are used as values
2016-09-13 14:15:48 -07:00
Andy e7de977b90 Merge pull request #10754 from Microsoft/source_file
Optimize 'getSourceFile' to only get the source file once.
2016-09-13 14:02:39 -07:00
Mohamed Hegazy a612d586c6 Merge pull request #10582 from oijazsh/TS2339
Show an elaboration when accessing a non-existent property of a union type
2016-09-13 13:57:14 -07:00