Andy Hanson
9c80909a90
Resolve symlinks for type reference directives too.
2016-11-09 08:08:10 -08:00
Vladimir Matveev
28cc938503
(signature help) type parameter lists are never variadic ( #12112 )
2016-11-08 16:10:34 -08:00
Vladimir Matveev
9a9f45f0fb
use createHash from ServerHost instead of explicit require ( #12043 )
...
* use createHash from ServerHost instead of explicit require
* added missing method in ServerHost stub
2016-11-08 15:32:53 -08:00
Andy Hanson
1c64615e32
Allow a path mapping to provide a file extension
2016-11-08 07:19:17 -08:00
Anders Hejlsberg
2282477012
Merge pull request #12068 from Microsoft/fixTypeAliasDisplay
...
Fix type alias display
2016-11-08 06:43:38 -08:00
Anders Hejlsberg
be0358cc0c
Include declaration file emit
2016-11-08 06:09:41 -08:00
Mohamed Hegazy
84f8f8bba8
Update authors for release-2.1
2016-11-07 21:58:53 -08:00
Vladimir Matveev
9e3d6efb19
reduce set of files being watched, increase polling interval ( #12054 ) ( #12092 )
2016-11-07 21:13:11 -08:00
Mohamed Hegazy
2bf38ab6cd
Port fix for https://github.com/Microsoft/TypeScript/issues/12069 ( #12095 )
2016-11-07 21:09:17 -08:00
Anders Hejlsberg
8f568d4740
Merge pull request #12064 from Microsoft/cacheSignatureInstantiations
...
Cache generic signature instantiations
2016-11-07 17:16:05 -08:00
Ron Buckton
ddc4ae7eac
Reuse subtree transform flags for incrementally parsed nodes ( #12088 )
2016-11-07 16:03:04 -08:00
Vladimir Matveev
be2e8e85d6
property handle missing config files in external projects ( #12094 )
2016-11-07 15:49:19 -08:00
Vladimir Matveev
0173a3fa79
return empty file watcher in case if target directory does not exist ( #12091 )
...
* return empty file watcher in case if target directory does not exist
* linter
2016-11-07 15:48:46 -08:00
Nathan Shively-Sanders
e1c50e1c40
Address more PR comments
2016-11-07 13:57:26 -08:00
Vladimir Matveev
4ffdea838a
Ports #12051 and #12032 into master ( #12090 )
...
* use local registry to check if typings package exist (#12014 )
use local registry to check if typings package exist
* enable sending telemetry events to tsserver client (#12035 )
enable sending telemetry events
2016-11-07 13:36:08 -08:00
Nathan Shively-Sanders
bd5ce284c9
Set spread type symbols in checkObjectLiteral
...
Instead of getSpreadType.
Also clean up special-case handling inside getSpreadType to be more
readable.
2016-11-07 13:35:36 -08:00
Andy
d16aa3075c
Merge pull request #12089 from Microsoft/lshost_realpath
...
Add `realpath` implementation for lshost
2016-11-07 13:19:50 -08:00
Nathan Shively-Sanders
567f5636e3
Create spread property types eagerly
...
This avoids the need for a synthetic symbol and later code called from
getTypeOfSymbol.
2016-11-07 13:02:05 -08:00
Andy Hanson
d5c67312f6
Add realpath
implementation for lshost
2016-11-07 12:42:12 -08:00
Nathan Shively-Sanders
9977936190
Do not emit __rest for --target esnext
2016-11-07 11:34:37 -08:00
Nathan Shively-Sanders
1866d0580c
Rename variable in checkSwitchStatement per PR
2016-11-07 11:16:54 -08:00
Nathan Shively-Sanders
609cd0016b
Merge branch 'object-spread' into object-rest
2016-11-07 11:10:29 -08:00
Nathan Shively-Sanders
f03fecbd31
Merge branch 'master' into object-spread
2016-11-07 11:02:49 -08:00
Nathan Shively-Sanders
83e95d43f8
Revert unneeded change and comments per PR
2016-11-07 11:00:24 -08:00
Nathan Shively-Sanders
d4a5b0855c
Add --target esnext tests and update baselines
2016-11-07 09:56:48 -08:00
Nathan Shively-Sanders
7b9a42f995
Add --target esnext
...
Currently, this disables the rest and spread transforms. This will
change as proposals enter and leave stage 3.
2016-11-07 09:54:48 -08:00
Nathan Shively-Sanders
6a82ae4cbb
Add SpreadAssignment to visitors
...
1. visitNode
2. reduceNode
3. emit
This fixes an emit bug for setters.
2016-11-07 09:04:00 -08:00
Nathan Shively-Sanders
a84c7aeea4
Rename SpreadElementExpression -> SpreadAssignment
...
and SpreadExpression (formerly SpreadElementExpression) -> SpreadElement
2016-11-07 08:36:03 -08:00
Andy Hanson
07630e95e0
Add source maps and declarations to test
2016-11-07 07:14:47 -08:00
Anders Hejlsberg
cc9daca38d
Accept new baselines
2016-11-06 16:02:32 -08:00
Anders Hejlsberg
2bf4bad0e1
Revert incorrect logic from #11392
2016-11-06 16:00:41 -08:00
Anders Hejlsberg
adfa271e44
Add regression test
2016-11-05 17:36:13 -07:00
Anders Hejlsberg
da7f11fe4b
Properly instantiate aliasTypeArguments
2016-11-05 17:36:00 -07:00
Anders Hejlsberg
4c1e4169bd
Accept new baselines
2016-11-05 08:23:42 -07:00
Anders Hejlsberg
61b9da548a
Cache generic signature instantiations
2016-11-05 08:20:02 -07:00
Vladimir Matveev
ed4fead087
add missing bind calls to properly set parent on token nodes ( #12057 )
2016-11-04 21:54:22 -07:00
Nathan Shively-Sanders
a55ed26d2b
Spread any types to any
2016-11-04 16:06:33 -07:00
Nathan Shively-Sanders
4c365bd76a
Move transformFunctionBody to factory
...
It is shared by es2015 and esNext transformers.
This commit just adds a convertObjectRest flag to be passed on to
flattenDestructuring functions, as well as adding necessary parameters
to use the code outside a transformer.
2016-11-04 13:56:28 -07:00
Nathan Shively-Sanders
4337369ed4
Update improved baselines
2016-11-04 11:07:18 -07:00
Nathan Shively-Sanders
cc342d12e7
Move convertForOf to factory for esnext and es2015
...
Saves a lot of duplicated code
2016-11-04 11:06:56 -07:00
Sheetal Nandi
4a906143c6
Merge pull request #11998 from Microsoft/unusedProperty
...
Mark property referenced in the destructuring as referenced
2016-11-04 10:42:05 -07:00
Nathan Shively-Sanders
71f3157a35
Address PR comments
...
1. Remove extra line in __rest shim.
2. Improve __rest vs __assign check for destructuring assignment.
2016-11-04 09:03:03 -07:00
Ron Buckton
defc0537ae
Merge pull request #12039 from Microsoft/fix12010
...
Ensure transformFlags are correct before visiting a node.
2016-11-03 23:38:52 -07:00
Zhengbo Li
1c004bf317
Port #12027 , #11980 and #11932 to master ( #12037 )
...
* add test for the fix for overwrite emitting error
* cr feedback
2016-11-03 21:13:41 -07:00
Ron Buckton
cbec19afd7
Ensure transformFlags are correct before visiting a node.
2016-11-03 17:21:36 -07:00
Nathan Shively-Sanders
c9c5f49a24
Improve readability of ES next destructuring emit
2016-11-03 13:36:35 -07:00
Nathan Shively-Sanders
14f8b9990f
Update objectRestAssignment test
...
Missed previously, just got the baselines
2016-11-03 13:33:16 -07:00
Andy Hanson
0b71df5099
Add a .d.ts
file to the test to ensure it is excluded from the calculation too
2016-11-03 12:33:03 -07:00
Anders Hejlsberg
702efd559b
Merge pull request #12026 from Microsoft/keyofAndConstraints
...
Fix 'keyof' for constrained type parameters
2016-11-03 11:34:08 -07:00
Anders Hejlsberg
48f2b78125
Merge branch 'master' into keyofAndConstraints
2016-11-03 11:21:13 -07:00