1194 Commits

Author SHA1 Message Date
Wesley Wigham
26b1ab499c
Use inclusive flag, as originally done, but include almost everything 2016-06-06 13:05:29 -07:00
Wesley Wigham
9761c3be97
Revert "Revert "Merge pull request #7235 from weswigham/narrow-all-types""
This reverts commit fc3e040c5167868ed623612e8f33fb3beedf73b1.
2016-06-06 12:52:34 -07:00
Anders Hejlsberg
2517238269 Add non-widening forms of null and undefined 2016-06-02 06:32:14 -07:00
zhengbli
241920c960 Merge branch 'outerControlFlows' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
# Conflicts:
#	src/compiler/binder.ts
2016-05-31 14:02:45 -07:00
zhengbli
18ee4b0a1e cr feedback 2016-05-30 22:11:43 -07:00
Anders Hejlsberg
e8ecf0e615 Track return statements in IIFE using a flow label 2016-05-28 06:43:28 -07:00
Anders Hejlsberg
3b5c72c4bc Include outer function expressions in control flow analysis 2016-05-26 15:30:31 -07:00
zhengbli
81ce532cde Change how typedef tag is parsed 2016-05-26 14:33:30 -07:00
zhengbli
5f9fa69587 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
# Conflicts:
#	src/services/services.ts
#	tests/cases/unittests/jsDocParsing.ts
2016-05-24 21:06:00 -07:00
Ryan Cavanaugh
7173fa8d02 Merge pull request #8670 from RyanCavanaugh/fix8275
Automatically consume @types/ folders
2016-05-24 15:23:06 -07:00
Ryan Cavanaugh
675d176cef Allow duplicate identifiers as long as their declarations span multiple blocks
Fixes #8675
2016-05-24 09:58:56 -07:00
Ryan Cavanaugh
27292e4292 Merge pull request #8678 from RyanCavanaugh/fix8255
Tweak UMD / global semantics
2016-05-23 16:15:56 -07:00
Anders Hejlsberg
db109d1a7f Add --skipLibCheck compiler option 2016-05-21 17:44:37 -07:00
Ryan Cavanaugh
41290db9c6 Tweak UMD semantics 2016-05-18 17:59:43 -07:00
Ryan Cavanaugh
06bb9affd9 Merge remote-tracking branch 'upstream/master' into fix8275 2016-05-18 12:07:11 -07:00
Anders Hejlsberg
59f269c90a Merge pull request #8652 from Microsoft/neverType
Add 'never' type
2016-05-18 11:39:22 -07:00
Anders Hejlsberg
9a22d08422 Merge pull request #8625 from Microsoft/optionalClassProperties
Optional class properties
2016-05-18 11:32:50 -07:00
Ryan Cavanaugh
f4e10eb738 Automatically consume /types 2016-05-17 15:41:31 -07:00
Anders Hejlsberg
be7e2a837b Make 'never' an intrinsic type 2016-05-17 10:05:19 -07:00
Anders Hejlsberg
c11d691d6f Introduce 'never' type 2016-05-17 06:15:57 -07:00
Anders Hejlsberg
6b3fc7f310 Remove nullability from function types in language service 2016-05-16 09:23:29 -07:00
Andy
7806de0f45 Merge pull request #8555 from Microsoft/readonly_ctr
Fix #7590: Allow 'readonly' to be used in constructor parameters
2016-05-12 10:29:22 -07:00
Andy Hanson
a9742c5861 Change name from ConstructorParameterModifier to ParameterPropertyModifier 2016-05-11 09:48:37 -07:00
Andy Hanson
ad2634e343 Fix #7590: Allow 'readonly' to be used in constructor parameters 2016-05-11 08:32:17 -07:00
Vladimir Matveev
5e94c76190 expose code path that will use Path type to avoid redundant string conversions 2016-05-10 23:43:26 -07:00
Paul van Brenk
fad25747a7 Merge pull request #8469 from Microsoft/tsconfigParsingImprovements
Add propertybag to parsed tsconfig.json file.
2016-05-06 13:33:01 -07:00
Paul van Brenk
8aff38e128 Add the entire tsconfig as a raw property to the parsed config. 2016-05-06 10:12:12 -07:00
Vladimir Matveev
2b5bbfee60 use CompilerHost.realpath to resolve actual location for symlinks 2016-05-05 13:38:09 -07:00
Anders Hejlsberg
3a4b56d6b7 Cache visited nodes and types in shared arrays to reduce object allocation 2016-05-04 15:18:57 -07:00
Paul van Brenk
4bc2314cbe Add propertybag to parsed tsconfig.json file.
This allows consumers of the LS to read properties added to the tsconfig.json
without having to worry about dealing with comments.
2016-05-04 14:50:58 -07:00
Anders Hejlsberg
e49773a7e9 Local caching of types of shared flow nodes 2016-05-04 13:24:05 -07:00
Anders Hejlsberg
79db146e32 Refactor from FlowKind to FlowFlags 2016-05-04 12:44:27 -07:00
zhengbli
9ff02b11e9 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
# Conflicts:
#	src/services/services.ts
2016-05-02 15:11:51 -07:00
Mohamed Hegazy
59d1f1f8ab Merge pull request #8284 from Microsoft/Fix8271
Fix #8271: Add `undefined` type to index signatures
2016-04-25 14:17:51 -07:00
Anders Hejlsberg
dc60e68468 Merge pull request #8286 from Microsoft/controlFlowCacheFix
Control flow cache fix
2016-04-25 12:26:30 -07:00
Zhengbo Li
0f18cf8bb7 Merge pull request #8196 from zhengbli/fileWatcherBackToPolling
Change file watching back to polling.
2016-04-25 11:42:26 -07:00
Anders Hejlsberg
b88269bace Cache control flow types only at loop-back junctions 2016-04-25 11:23:56 -07:00
Mohamed Hegazy
743fa3c32d Fix #8271: Add undefined type to index signatures 2016-04-25 10:40:14 -07:00
zhengbli
870fd84233 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-04-22 15:04:35 -07:00
zhengbli
15cbb02162 refactor 2016-04-22 14:26:36 -07:00
Anders Hejlsberg
5ed6f30f1f Merge pull request #8010 from Microsoft/controlFlowTypes
Control flow based type analysis
2016-04-22 14:18:56 -07:00
zhengbli
a09b001c61 Add env to allow switch to non-polling if really wants to 2016-04-22 11:54:09 -07:00
Anders Hejlsberg
ab4b03983b Removing unused logic 2016-04-21 13:40:57 -07:00
Sheetal Nandi
dc4871a12a Parenthesize the fn or constructor type with type parameter when writing it in type argument
Fixes #8105
2016-04-18 15:44:40 -07:00
Anders Hejlsberg
2595f0451c Removing unused properties 2016-04-17 13:48:41 -07:00
zhengbli
0dddcf4b84 code clean up 2016-04-14 16:51:22 -07:00
zhengbli
a3d74ad550 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
# Conflicts:
#	src/compiler/diagnosticMessages.json
#	src/services/services.ts
2016-04-13 16:57:35 -07:00
zhengbli
2945f64e3b Add tests for renaming and incremental parsing. Changed how the AST was hydrated
with jsdocComment nodes.
2016-04-13 16:45:06 -07:00
Sheetal Nandi
41c1a5b497 Merge pull request #7945 from Microsoft/renameAndFindRef
Fixes rename for destructuring, named imports and default imports
2016-04-13 15:46:43 -07:00
Sheetal Nandi
c492fc6369 Update the entry point to return property symbol of destructuring assignment 2016-04-13 14:50:41 -07:00