Commit Graph

1893 Commits

Author SHA1 Message Date
Arthur Ozga 2150a7796b Merge pull request #15261 from aozgaa/moduleReuse
Reuse Module Resolutions from Unchanged Files
2017-05-01 17:49:44 -07:00
Arthur Ozga df3630b92c reorder enum 2017-05-01 16:37:18 -07:00
Arthur Ozga c63d6d145a Avoid double-resolving modified files 2017-04-28 16:27:41 -07:00
Arthur Ozga 6547c1816f check ambient modules before reusing old state 2017-04-27 20:27:48 -07:00
Ron Buckton 21c27457a2 Fix class name emit in ES5 2017-04-25 12:44:02 -07:00
Yui a1a2006074 Merge pull request #15160 from Microsoft/master-jsxChildren
[Master] Type checking JSX children
2017-04-21 10:02:13 -07:00
Arthur Ozga 0ea1b82a85 test module reuse 2017-04-20 18:55:15 -07:00
Mohamed Hegazy 5d7c75d88d Add a source property on Diagnostic 2017-04-20 13:22:55 -07:00
Kanchalai Tanglertsampan f6f0813528 Merge branch 'master' into master-jsxChildren
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/diagnosticMessages.json
2017-04-17 13:31:12 -07:00
Kanchalai Tanglertsampan bb8bab3ae3 Remove a flag indicating the children is synthesized..We will give an error if you use children without specified such property 2017-04-14 15:21:49 -07:00
Andy 72feaad893 Merge pull request #14001 from Microsoft/refactor_findallrefs
Refactor findAllReferences. Now supports renamed exports and imports.
2017-04-14 09:57:54 -07:00
Nathan Shively-Sanders 11f715c724 Merge pull request #15036 from Microsoft/remove-readonly-from-spread-properties
Remove readonly from spread properties
2017-04-12 16:32:16 -07:00
Kanchalai Tanglertsampan 012f459594 Fix linting error 2017-04-12 12:28:34 -07:00
Kanchalai Tanglertsampan 4fa23127fc Fixing consuming whitespace in children 2017-04-12 12:08:12 -07:00
Nathan Shively-Sanders 28cdaf24e9 Address PR:fix find-all-refs and slim down code
Also add readonly to find-all-ref test
2017-04-12 11:31:52 -07:00
Andy Hanson c7d51a3053 Merge branch 'master' into refactor_findallrefs 2017-04-12 11:27:58 -07:00
Ron Buckton 6c4a24eb11 Fix down-level emit for captured loop variable in async function 2017-04-11 17:30:53 -07:00
Kanchalai Tanglertsampan 4562fd089c Store scanning information whether JSXText is just an all whitespaces 2017-04-11 14:55:26 -07:00
Kanchalai Tanglertsampan f86a730371 Consider whitespace that won't be emitted to be different kind so that we won't include in typ-checking 2017-04-11 10:52:18 -07:00
Kanchalai Tanglertsampan b3846bfe65 Wip - type checking JSX children 2017-04-07 16:41:29 -07:00
Andy 2b61d18996 Merge pull request #14985 from Microsoft/jsdoc-format
Enable jsdoc-format lint rule
2017-04-05 07:19:31 -07:00
Andy Hanson 73cab09608 Enable jsdoc-format lint rule 2017-04-03 14:39:19 -07:00
Ron Buckton fd081f40a8 Clean up literal emit 2017-04-03 14:17:03 -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
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
Andy Hanson aa1c860f08 Merge branch 'master' into refactor_findallrefs 2017-03-27 11:31:07 -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
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
andy-ms 50c18bbea0 Fix typo 2017-03-19 10:00:28 -07:00