Commit Graph

1879 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan
55430c46e6 Add boolean flag to not walk the tree if there is no dynamic import 2017-04-04 15:43:45 -07:00
Kanchalai Tanglertsampan
ca65996396 Merge branch 'master' into master-dynamicImport 2017-04-04 14:02:00 -07:00
rbuckton
3eb6270c9b Trim whitespace 2017-03-30 12:59:09 -07:00
rbuckton
ea2aa0c079 Infer a rest parameter for javascript function that uses 'arguments' 2017-03-29 18:13:19 -07:00
Kanchalai Tanglertsampan
9715052591 Merge branch 'master' into master-dynamicImport 2017-03-29 10:58:26 -07:00
Kanchalai Tanglertsampan
11f6eaec5b Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/commandLineParser.ts
2017-03-29 10:51:05 -07:00
Yui
0cb490e2c2 Merge pull request #14692 from Microsoft/master-fixResolveEntityName
[Master] Fix resolve entity name to not dive inside property access expression when the expression is not entity name
2017-03-29 09:55:36 -07:00
Mohamed Hegazy
0637f241b7 Merge remote-tracking branch 'origin/master' into checkJSFiles 2017-03-27 21:23:07 -07:00
Arthur Ozga
7340c4ca1e type predicate support 2017-03-27 11:53:44 -07:00
Mohamed Hegazy
3378f5cb38 Merge branch 'master' into checkJSFiles 2017-03-27 10:46:40 -07:00
Arthur Ozga
a39bb0aaaa midway through response to ron's comments 2017-03-27 00:34:48 -07:00
Arthur Ozga
e2b3c9c663 remove NodeBuilder 2017-03-26 22:29:17 -07:00
Arthur Ozga
a94f874b06 use NodeBuilderContext 2017-03-25 14:14:36 -07:00
Arthur Ozga
82bd05bbc0 Merge branch 'master' into createTypeNode 2017-03-23 16:29:00 -07:00
Arthur Ozga
bfb1bb4801 Merge branch 'createTypeNode2' into createTypeNode 2017-03-23 14:12:25 -07:00
Anders Hejlsberg
f4fc9ed61f Fix deeply nested type check 2017-03-23 11:23:13 -07:00
Arthur Ozga
dfb4df92c8 move undefined handling to caller 2017-03-23 11:17:25 -07:00
Arthur Ozga
1f3029d4f1 error handling 2017-03-23 08:34:58 -07:00
Arthur Ozga
abd14ef185 temp 2017-03-22 19:10:56 -07:00
Mohamed Hegazy
e408cad618 Merge branch 'master' into checkJSFiles 2017-03-22 15:45:27 -07:00
Kanchalai Tanglertsampan
91d9ecf3e2 Simply parse dynamic import as call-expression.... 2017-03-22 11:10:47 -07:00
Mohamed Hegazy
b2f49ccfcb Merge branch 'master' into optionsDescription 2017-03-22 11:04:35 -07:00
Klaus Meinhardt
eb8972d5ff Add parent types to class elements 2017-03-22 15:28:51 +01:00
Klaus Meinhardt
fcca27c03e Fix type of HeritageClause#types 2017-03-22 13:00:07 +01:00
Klaus Meinhardt
6e086980a4 Also fix type of NewExpression#arguments 2017-03-22 12:58:28 +01:00
Klaus Meinhardt
1511dd9c24 Fix parent type of JsxAttributes 2017-03-22 12:58:28 +01:00
Arthur Ozga
5b739cf78c respond to comments 2017-03-21 22:54:06 -07:00
Andy
d7c630f4df Merge pull request #14443 from Microsoft/specific_types
Use more specific types in a few cases
2017-03-21 12:26:04 -07:00
Anders Hejlsberg
363c5144bc Merge pull request #14635 from Microsoft/fixIntersectionMethodOverrides
Fix intersection method overrides
2017-03-20 16:24:05 -07:00
Andy Hanson
b8aa84e8bf Use more specific types in a few cases 2017-03-20 14:49:12 -07:00
Kanchalai Tanglertsampan
e0192168f7 Use emitFlags to indicate that the subtree contains dynamic import 2017-03-20 14:01:50 -07:00
andy-ms
50c18bbea0 Fix typo 2017-03-19 10:00:28 -07:00
Yui T
1af1005636 Correctly bind import call expression 2017-03-17 16:58:51 -07:00
Arthur Ozga
57cd9eaf3b Merge branch 'master' into createTypeNode 2017-03-17 16:50:05 -07:00
Andy Hanson
6234cbb82f Move comment to JSDoc 2017-03-17 14:04:36 -07:00
Arthur Ozga
4fa32a29ce make enclosingdeclaration arg required 2017-03-16 18:02:57 -07:00
Arthur Ozga
a88be7c6f9 consolidate SignatureParts 2017-03-16 16:59:01 -07:00
Arthur Ozga
0fa4f112a3 signatures, parameter, literals, anyonymous types 2017-03-16 16:41:26 -07:00
Andy Hanson
9c0f77091c Clean up code in parser 2017-03-16 13:23:35 -07:00
Kanchalai Tanglertsampan
1c90ef5aad wip-fix resolveEntityName with parenthesizedExpression 2017-03-15 19:16:37 -07:00
Arthur Ozga
0a2d7a7f94 temp
* added signature factory/visitor entry
2017-03-15 18:09:55 -07:00
Mohamed Hegazy
7d56837f54 Merge branch 'master' into optionsDescription 2017-03-15 15:38:55 -07:00
Mohamed Hegazy
0dac29f6f3 Merge branch 'master' into checkJSFiles 2017-03-15 12:35:26 -07:00
Vladimir Matveev
2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Arthur Ozga
2fd3229568 Various fixes
* create type reference node from type parameters
* expose index signature synthesis
* widen types in helpers
* format unions
* use deep cloning
2017-03-14 14:35:23 -07:00
Yui T
ffbb445148 wip-Emit import call expression for commonjs 2017-03-14 10:31:30 -07:00
Arthur Ozga
27fe2df203 some missed token bugs 2017-03-13 20:20:26 -07:00
Arthur Ozga
20f512cfd2 type parameters and basic object literals 2017-03-13 16:54:29 -07:00
Kanchalai Tanglertsampan
18c826b3aa Add new value "es2018" for module kind 2017-03-13 14:48:40 -07:00
Anders Hejlsberg
3f3b05e67e Properly track method/property distinction for intersection members 2017-03-13 13:15:09 -07:00