Vladimir Matveev
502b2ba321
add part of test baselines
2016-03-09 17:06:19 -08:00
Nathan Shively-Sanders
93510e8261
Merge pull request #7451 from Microsoft/runtest-parallel-runs-lint
...
Always run lint, even for runtests-parallel
2016-03-09 13:05:27 -08:00
Yui
05baf3dac7
Merge pull request #7356 from Microsoft/fix7354
...
Concat declaration error so we report them
2016-03-09 13:02:45 -08:00
Vladimir Matveev
5d5fee2ef1
Merge pull request #7450 from Microsoft/noImplicitReturnsInAsync
...
unwrap promised typed in async function before doing 'noImplicitRetur…
2016-03-09 12:42:10 -08:00
Nathan Shively-Sanders
8a01a973bb
Always run lint, even for runtests-parallel
...
The first runner runs lint, not the first to complete.
2016-03-09 12:40:53 -08:00
Anders Hejlsberg
614afb740d
Merge pull request #7448 from Microsoft/optimizeInstantiation
...
Skip unnecessary instatiation of anonymous types
2016-03-09 12:40:32 -08:00
Anders Hejlsberg
4f441bd553
Adding comment to test
2016-03-09 11:37:40 -08:00
Vladimir Matveev
907ce8fb38
unwrap promised typed in async function before doing 'noImplicitReturns' check
2016-03-09 11:23:55 -08:00
Anders Hejlsberg
1d181360cc
Adding tests
2016-03-09 11:03:40 -08:00
Ryan Cavanaugh
ac147b18a6
Merge pull request #7442 from Victorystick/fix-property-shorthand-emit
...
Fix shorthand properties for non-es6 module formats
2016-03-09 10:30:58 -08:00
Ryan Cavanaugh
b29f460641
Merge pull request #7449 from RyanCavanaugh/port6993fix
...
Fix duplicate errors in JSDoc function types with anon parameters
2016-03-09 09:57:11 -08:00
Oskar Segersvärd
2e23010437
Add three tests
2016-03-09 18:43:21 +01:00
Ryan Cavanaugh
5dbf252dc5
Fix duplicate errors in JSDoc function types with anon parameters
...
Fixes #6993
2016-03-09 09:18:54 -08:00
Anders Hejlsberg
bf97250306
Skip unnecessary instatiation of anonymous types
2016-03-09 09:14:55 -08:00
Oskar Segersvärd
ccd5352eb8
System doesn't have direct identifier access in TS's generated code.
2016-03-09 12:13:27 +01:00
Oskar Segersvärd
d742ca50f4
Fix shorthand properties for non-es6 module formats
2016-03-09 11:22:47 +01:00
Mohamed Hegazy
cc57ae0205
Merge pull request #7439 from Microsoft/moduleAugmentationWithExportEquals
...
Handel module augmentation with export= var + uninstantiated module
2016-03-08 21:22:28 -08:00
Mohamed Hegazy
7acf58ba52
Handel module augmentation with export= var + uninstantiated module
2016-03-08 17:16:19 -08:00
Daniel Rosenwasser
01c329c05e
Merge pull request #7396 from mattmccutchen/issue7359
...
Expose ts.isExternalModule as public API.
2016-03-07 10:15:06 -08:00
Matt McCutchen
49172207bf
Expose ts.isExternalModule as public API.
...
Fixes #7359
2016-03-04 18:45:42 -05:00
Mohamed Hegazy
a5354608fc
Merge pull request #7392 from Microsoft/declarationEmitFixes
...
Declaration emit fixes
2016-03-04 15:35:43 -08:00
Mohamed Hegazy
15640492c4
Code review comments
2016-03-04 14:21:31 -08:00
Mohamed Hegazy
15f07e6231
Fix #4506 : Remove assert to allow for invalid patterns already flagged erlier by the checker
2016-03-03 23:01:46 -08:00
Mohamed Hegazy
3bb2c57264
Fix #3810 : Handel expressions in extends clauses
2016-03-03 22:35:30 -08:00
Mohamed Hegazy
c98c763243
Fix #5651 : Get the correct meaning for expressions in extends clauses
2016-03-03 21:47:11 -08:00
Ryan Cavanaugh
311f8dd7d3
Merge pull request #7309 from RyanCavanaugh/fix6878
...
Support JSDoc on class / obj. literal getters
2016-03-03 15:50:15 -08:00
Mohamed Hegazy
baa040115e
Fix #7173 : Widen the type do the defualt export expression before writing it out.
2016-03-03 15:42:47 -08:00
jramsay
fcfc411200
Merge pull request #7383 from Microsoft/removeCachePathFromDiscoverTypings
...
Removing cachePath from discoverTypings and DiscoverTypingsInfo.
2016-03-03 15:41:45 -08:00
Jason Ramsay
ae2b7c2aa2
Removing cachePath from discoverTypings and DiscoverTypingsInfo.
...
With the move to using the packageNameToLocation map it is no longer required.
2016-03-03 15:17:52 -08:00
Mohamed Hegazy
0cba37d5b2
Merge pull request #7358 from martine/empty-return
...
in noImplicitReturns mode, also disallow "return;"
2016-03-03 13:56:19 -08:00
Vladimir Matveev
744e51047e
Merge pull request #7373 from Microsoft/limitInferenceDepth
...
set the maximum depth to explore during type inference
2016-03-03 12:18:49 -08:00
Evan Martin
5132ea64ea
in noImplicitReturns mode, also disallow "return;"
...
In --noImplicitReturns mode, if a function specifies a return type,
disallow empty "return;" statements.
Fixes #5916 .
2016-03-03 12:18:23 -08:00
Vladimir Matveev
1589e4f57e
set the maximum depth to explore during type inference
2016-03-03 10:47:21 -08:00
Mohamed Hegazy
24c47f18ad
Merge pull request #7371 from Microsoft/checkForWatchFile
...
Fix #7362 : check for --watchFile in tsconfig.json as well as on the c…
2016-03-03 10:44:26 -08:00
Mohamed Hegazy
30a6a33259
Fix #7362 : check for --watchFile in tsconfig.json as well as on the commandline
2016-03-03 10:18:33 -08:00
Kanchalai Tanglertsampan
70d267419b
Concat declaration error so we report them
2016-03-02 17:13:51 -08:00
Mohamed Hegazy
0f6dbd0250
Merge pull request #7350 from basarat/patch-1
...
fix(build) `TypingResolutionHost` interface is used by exported function `discoverTypings`
2016-03-02 16:39:56 -08:00
Basarat Ali Syed
1bebc711b0
fix(build) TypingResolutionHost interface is used by exported function discoverTypings
2016-03-03 10:32:07 +11:00
Daniel Rosenwasser
d6c56062b6
Merge pull request #7348 from Vinatorul/issue6540
...
Added new diagnostics message to clarify error for type guards
2016-03-02 13:55:56 -08:00
Alexander
694a48c445
Added new diagnostics message to clarify error for type guards
...
New diagnostics message "A type guard's type must be assignable to its parameter's type." number 2677
is now using in chain report to clarify vague error message for type guards.
2016-03-03 00:24:02 +03:00
jramsay
de47fcc113
Merge pull request #7179 from Microsoft/jsTypingForAcquireDts
...
Salsa: JS support for discovering and acquiring d.ts files
2016-03-02 11:10:12 -08:00
Jason Ramsay
e8772bc0a2
- Adding new lines after { for single-line if statements
...
- Renaming DiscoverTypingsSettings to DiscoverTypingsInfo to match host
2016-03-02 10:11:13 -08:00
Vladimir Matveev
f34dcdd464
Merge pull request #7328 from Microsoft/flipSidesInSignatureCheck
...
flip sides source and target when we check signature relations
2016-03-01 19:28:19 -08:00
Jason Ramsay
4bbdf2a0bb
- Removing filesToWatch from getTypingNamesFromNodeModuleFolder.
...
These modules are already installed and are not expected to change
2016-03-01 19:06:31 -08:00
Jason Ramsay
6aad783db8
- Adding DiscoverTypingsSettings
...
- Remove all references to Tsd.
Instead pass a map of package names to cached typing locations
2016-03-01 18:52:11 -08:00
Vladimir Matveev
b3552c69d7
Merge pull request #7329 from Microsoft/allowFallFromLastCase
...
allow fallthrough from the last case of the switch
2016-03-01 17:24:00 -08:00
Vladimir Matveev
568e2aab58
allow fallthrough from the last case of the switch
2016-03-01 15:58:59 -08:00
Vladimir Matveev
0ef2b9ea85
flip sides source and target when we check signature relations
2016-03-01 15:47:00 -08:00
Ryan Cavanaugh
65f09d66ad
Don't crash
2016-03-01 15:09:15 -08:00
Ryan Cavanaugh
fe483a69ee
Merge pull request #7326 from RyanCavanaugh/fix4577
...
Show aliases (e.g. imports) in JSX tag completion positions
2016-03-01 14:27:36 -08:00