1199 Commits

Author SHA1 Message Date
Anders Hejlsberg
c89b1eb9e9 Merge pull request #12386 from mariusschulz/union-and-intersection-types-with-leading-operator
Union and intersection types with leading operator
2016-11-28 15:57:24 -08:00
Ryan Cavanaugh
6a5682c4a3 Support JSDoc @augments tag
Fixes #12428
2016-11-22 10:52:47 -08:00
Marius Schulz
cd70f22b88 Add “|” and “&” to list of tokens that start a type 2016-11-20 10:48:03 +01:00
Marius Schulz
443abe5373 Allow one leading ignored “|” or “&” in a type position 2016-11-19 22:30:18 +01:00
Nathan Shively-Sanders
91e6bce34c Address PR comments 2016-11-18 15:44:15 -08:00
Nathan Shively-Sanders
eaf2f6ce69 Merge branch 'master' into getJSDoc-cleanup 2016-11-16 15:52:01 -08:00
Ron Buckton
0dd96f52e8 Merge branch 'master' into streamlineDestructuring 2016-11-15 13:38:56 -08:00
Nathan Shively-Sanders
0cda239e1c Merge pull request #12156 from Microsoft/fix-jsdoc-missing-space-from-bad-indent
Fix jsdoc missing space from bad indent
2016-11-14 08:21:40 -08:00
Nathan Shively-Sanders
b8082caa8e Clean up jsdoc in utilities
Fix functions that were unused (getJsDocComments), redundant (append) or badly named
(getJSDocCommentsFromText)
2016-11-11 15:58:52 -08:00
Anders Hejlsberg
1c7ec6b8ce Add missing node visits in forEachChild 2016-11-11 07:38:44 -08:00
Nathan Shively-Sanders
973d83ce93 Merge branch 'master' into fix-jsdoc-missing-space-from-bad-indent 2016-11-10 13:12:32 -08:00
Nathan Shively-Sanders
8bd0a47c82 Retain space after first word in multiline jsdoc
For words that were shorter than the jsdoc indent level, the space was
omitted previously.
2016-11-10 13:11:32 -08:00
Anders Hejlsberg
64d269885c Merge branch 'master' into mappedTypes
# Conflicts:
#	src/compiler/checker.ts
2016-11-10 11:17:53 -08:00
Sheetal Nandi
c458576553 Merge pull request #12135 from Microsoft/jsxFactory
Support for --jsxFactory option
2016-11-10 09:49:57 -08:00
Sheetal Nandi
f7bac98948 Verify that jsxFactory is either identifier or qualified name 2016-11-09 14:32:42 -08:00
Nathan Shively-Sanders
609cd0016b Merge branch 'object-spread' into object-rest 2016-11-07 11:10:29 -08:00
Nathan Shively-Sanders
a84c7aeea4 Rename SpreadElementExpression -> SpreadAssignment
and SpreadExpression (formerly SpreadElementExpression) -> SpreadElement
2016-11-07 08:36:03 -08:00
Anders Hejlsberg
d1a8af5320 Parse '[P in K]' part of mapped type as a type parameter declaration 2016-11-03 14:35:27 -07:00
Nathan Shively-Sanders
7ff8876096 Merge branch 'object-spread' into object-rest-syntax 2016-11-03 10:12:45 -07:00
Anders Hejlsberg
7cd39e3818 Parsing of mapped types 2016-11-03 06:09:44 -07:00
Nathan Shively-Sanders
334820c357 Remove spread types, leaving spread syntax/emit
Spreads are still typed, but cannot be created from a non-object type.
Tests still need to be updated.
2016-11-02 16:26:34 -07:00
Nathan Shively-Sanders
a7c18367ca Parse, bind and check rest elements 2016-11-02 14:55:24 -07:00
Nathan Shively-Sanders
2ae6ecc1a5 Merge branch 'master' into object-spread 2016-11-02 10:57:20 -07:00
Anders Hejlsberg
6b28d21a82 Merge branch 'master' into keyoftypes
# Conflicts:
#	src/compiler/diagnosticMessages.json
2016-10-31 16:04:40 -07:00
Andy Hanson
12f6dcefa1 Revert "Merge pull request #11354 from Microsoft/map4"
This reverts commit adfdae0dc47db5ad8248d26929a7b31cb895a539, reversing
changes made to aad663cebf6a89f7029af57d8cb6a0a011854978.
2016-10-27 15:50:21 -07:00
Nathan Shively-Sanders
58ffb4e668 Merge branch 'master' into object-spread 2016-10-27 15:29:21 -07:00
Andy Hanson
bcc0807198 Respond to PR comments 2016-10-27 13:14:56 -07:00
Anders Hejlsberg
e7cfbfe185 Support parametric property access expressions + some renaming 2016-10-26 13:39:12 -07:00
Andy Hanson
c958c47ef5 Merge branch 'master' into map4 2016-10-26 11:05:51 -07:00
Anders Hejlsberg
c21592ede1 Initial implementation of 'T[K]' property access types 2016-10-25 14:32:20 -07:00
Zhengbo Li
d0170d1ac8 Support dotted name in @typedef tag (#11695)
* Support dotted name in @typedef tag

* Use a new node flag to get rid of the extra logics

* replace jsdoc namespace node flag with optional property

* Fix linting error
2016-10-25 13:32:48 -07:00
Sheetal Nandi
f98369b711 Fix the AV resulting from presence of undefined in the jsDocPropertyTags
Fixes #11703
2016-10-24 18:10:05 -07:00
Nathan Shively-Sanders
32af04660f Merge branch 'master' into object-spread 2016-10-24 15:46:09 -07:00
Anders Hejlsberg
ad88109420 Initial implementation of 'keyof T' type operator 2016-10-24 15:24:26 -07:00
Alexander Rusakov
7b684214fa Fix #11545 ('export as namespace foo' occurs EOF without semicolon) (#11797) 2016-10-24 13:18:46 -07:00
Andy Hanson
a11838215c Merge branch 'master' into map4 2016-10-19 13:16:55 -07:00
Nathan Shively-Sanders
f9fe01a6e3 Merge branch 'master' into object-spread 2016-10-19 09:03:51 -07:00
Andy Hanson
f11dbc1ad1 Respond to PR feedback 2016-10-19 06:26:50 -07:00
Andy Hanson
7685e6af15 Forbid unused locals/parameters in compiler 2016-10-18 14:00:52 -07:00
Andy Hanson
e8c7224eac Merge branch 'master' into map4 2016-10-12 08:50:49 -07:00
Nathan Shively-Sanders
4ee4b6b912 Merge branch 'master' into object-spread 2016-10-11 16:06:05 -07:00
Andy Hanson
413a26b94d Support JSDoc for type alias 2016-10-11 11:14:15 -07:00
Nathan Shively-Sanders
cec3a3703a Merge branch 'master' into object-spread 2016-10-07 08:34:06 -07:00
Andy Hanson
7217274746 Merge branch 'master' into map4 2016-10-07 06:17:26 -07:00
Ron Buckton
519095f585 Merge branch 'master' into syntaxKindLiterals 2016-10-06 13:41:16 -07:00
Andy Hanson
aadcbcc083 Use native maps when they're available 2016-10-06 13:29:18 -07:00
Yui
f8b34c96a0 Merge pull request #11118 from Microsoft/fix11081
Fix11081
2016-10-05 10:28:22 -07:00
Ron Buckton
49695edadb Split up binary operators 2016-10-04 17:38:35 -07:00
Ron Buckton
0d7c84ef28 Added literal kind properties for each node. 2016-10-03 22:05:51 -07:00
Nathan Shively-Sanders
484e66fa09 Merge branch 'master' into object-spread 2016-09-28 10:33:47 -07:00