Commit Graph
5879 Commits
Author SHA1 Message Date
Vladimir Matveev 2ffc36349b Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-06-20 13:18:35 -07:00
Andy 4d5d152788 Merge pull request #9220 from Microsoft/navbar_refactor_3000
Refactor navigation bar
2016-06-20 13:16:40 -07:00
Andy Hanson 95cfaafdee Use implicit boolean casts; it doesn't hurt performance 2016-06-20 11:30:48 -07:00
Vladimir Matveev 5a543a610f navto 2016-06-19 20:33:40 -07:00
Daniel Rosenwasser 3fe546b9ea Merge pull request #9240 from Microsoft/mapBeDamned
Array#map -> ts.map.
2016-06-17 18:24:04 -07:00
Daniel Rosenwasser e9226af3f6 Array#map -> ts.map. 2016-06-17 17:18:16 -07:00
Vladimir Matveev f34ba2df0b added cleanup message 2016-06-17 16:22:03 -07:00
Mohamed Hegazy 2b4378daa3 Merge pull request #9180 from HerringtonDarkholme/interface
[Fix #9004] Improve error message for extending interface
2016-06-17 15:29:26 -07:00
Anders Hejlsberg c7dec0ea68 Merge pull request #9163 from Microsoft/typeGuardDiscriminants
Discriminated union types
2016-06-17 14:37:35 -07:00
Andy Hanson 166bc49f0c Refactor navigation bar 2016-06-17 07:42:26 -07:00
Herrington Darkholme 877977a450 add new tests for extends interface 2016-06-17 11:07:18 +08:00
Herrington Darkholme 38962eea82 use resolveEntityName to find interface 2016-06-17 10:22:56 +08:00
Herrington Darkholme c721b5f981 add tests & add branches for module interface 2016-06-17 01:19:34 +08:00
Sheetal Nandi f96a7f03e4 Merge pull request #9166 from Microsoft/removeDotToken
Remove the stored dotToken from PropertyAccessExpression
2016-06-16 09:59:00 -07:00
zhengbli 335443693f Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/program.ts
#	tests/cases/unittests/tsserverProjectSystem.ts
2016-06-15 14:36:45 -07:00
Zhengbo Li 7bb739fa40 Merge pull request #9083 from zhengbli/i6853
Check use before declaration if both the use and decalration are not in module file
2016-06-15 12:43:30 -07:00
Daniel Rosenwasser 9a2cf115c0 Merge pull request #9170 from Microsoft/emptyTupleAssertions
Correctly check types in type assertions
2016-06-15 12:35:04 -07:00
Andy a1e0504ed4 Merge pull request #9189 from Microsoft/js_property_declaration
Allow property declarations in .js files
2016-06-15 12:20:41 -07:00
Mohamed Hegazy 97be083d99 Merge pull request #9100 from Microsoft/Fix9098
Fix #9098: report missing function implementation errors for merged …
2016-06-15 11:53:31 -07:00
Andy Hanson dd0411a2f3 Allow property declarations in .js files 2016-06-15 09:42:52 -07:00
Anders Hejlsberg 6366a6d6a3 Remove String, Number, and Boolean from TypeFlags.Falsy 2016-06-15 09:28:28 -07:00
Herrington Darkholme 386fa3e1f6 improve error message for extending interface 2016-06-15 20:54:56 +08:00
Daniel Rosenwasser 52a96ac819 Always check type assertion types. 2016-06-14 19:13:32 -07:00
Anders Hejlsberg a3635ccd8b Merge branch 'master' into typeGuardDiscriminants
# Conflicts:
#	src/compiler/binder.ts
#	src/compiler/checker.ts
2016-06-14 13:08:17 -07:00
Daniel Rosenwasser c9bab058d5 Check tuple types when getting the type node's type. 2016-06-14 13:06:28 -07:00
Sheetal Nandi 30b387183c Merge branch 'master' into removeDotToken 2016-06-14 12:07:20 -07:00
Nathan Shively-Sanders 7890fd58b9 Merge pull request #9088 from Microsoft/add-members-to-variable-declarations-initialised-with-function-expressions
Add members to variable declarations initialised with function expressions
2016-06-14 11:37:36 -07:00
Sheetal Nandi 5ea469a8a8 No Need to store dot token when parsing property access expression 2016-06-14 11:02:40 -07:00
Daniel Rosenwasser 8917ddf8a1 Merge pull request #9151 from Microsoft/commonjsShorthands
Fix emit for shorthand properties when they refer to CommonJS exports.
2016-06-14 10:32:20 -07:00
Anders Hejlsberg 00376f42d8 Narrow non-union types to ensure consistent results 2016-06-14 09:33:15 -07:00
Andy Hanson 33e4c7a9a3 Respond to PR comment 2016-06-14 06:50:44 -07:00
Andy Hanson f6cee27af9 Emit 'Promise' decorator metadata return type for async methods 2016-06-14 06:11:00 -07:00
Andy b92a8f2b53 Merge pull request #9144 from Microsoft/decorator_metadata_rest_parameter
Fix decorator metadata emit for rest arg with no type
2016-06-14 05:43:24 -07:00
Wesley Wigham 9d023a83fe Merge pull request #9090 from weswigham/allow-empty-lists-command-line
Allow empty lists on command line
2016-06-14 00:29:15 -07:00
Daniel Rosenwasser eae289c7b7 Emit 'exports.' if the shorthand is a general export. 2016-06-13 23:33:47 -07:00
Ryan Cavanaugh f9923efd09 Merge pull request #9095 from RyanCavanaugh/implicitTypeReferences
Implicit type inclusion changes
2016-06-13 16:33:22 -07:00
Anders Hejlsberg c90b0fe17d No implicit returns following exhaustive switch statements 2016-06-13 16:20:13 -07:00
Ryan Cavanaugh 29f5291453 Refactor 2016-06-13 14:37:07 -07:00
Anders Hejlsberg ce156460eb Narrow type in case/default sections in switch on discriminant property 2016-06-13 14:29:04 -07:00
Ryan Cavanaugh b10d93291f Absolute-ify paths in both places 2016-06-13 14:20:31 -07:00
Andy Hanson c0c707c37f Fix decorator metadata emit for rest arg with no type 2016-06-13 13:16:13 -07:00
Nathan Shively-Sanders 8b093128b3 Merge pull request #9036 from Microsoft/primitive-type-guards-are-order-independent
Primitive type guards are order independent
2016-06-13 10:52:06 -07:00
Ryan Cavanaugh 6702e651a3 CR changes 2016-06-13 10:15:29 -07:00
Ryan Cavanaugh e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
york yao 61534225e5 minor fix: add missing return clause 2016-06-13 18:48:39 +08:00
Mohamed Hegazy e86f1837d0 Fix #9098: report missing function impelementation errors for merged classes and namespaces 2016-06-11 13:12:08 -07:00
Anders Hejlsberg 4a8f94a553 Type guards using discriminant properties of string literal types 2016-06-10 16:17:32 -07:00
Ryan Cavanaugh 576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh 9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
Wesley Wigham d20459607b Remove single-comma empty array form 2016-06-10 14:35:13 -07:00