Commit Graph
100 Commits
Author SHA1 Message Date
Ron Buckton d8ae9c0e36 Early support for unique symbol type 2017-05-04 14:40:03 -07:00
Ron Buckton 64fd857b0d fix symbol display for computed properties 2017-05-02 17:34:08 -07:00
Ron Buckton d572a54d15 Report errors from duplicate member names 2017-04-30 22:27:31 -07:00
Ron Buckton 0c1eef70b0 Add support for declaration emit 2017-04-29 15:18:34 -07:00
Ron Buckton d8cb3c628a Allow some dynamic names in types 2017-04-29 13:17:38 -07:00
Ron Buckton 324c9bb349 Fix block-scoped enum declarations 2017-04-27 15:04:12 -07:00
Ron Buckton 6c176138ca Fix loop block scope binding in generator 2017-04-19 17:06:12 -07:00
Ron Buckton 96927379f0 Emit generated name for unnamed default exported class with decorated members 2017-04-19 14:53:32 -07:00
Ron Buckton 73142ff25c Handle rejection in async delegation 2017-04-19 14:08:46 -07:00
Ron Buckton 6749c77f36 check and emit fixes for async iteration 2017-04-19 13:22:49 -07:00
Ron Buckton 64e2c29c6c Don't use 'yield' as an identifier 2017-04-17 17:31:54 -07:00
Ron Buckton 5dca7ccb1d Fix yield* as well 2017-04-17 16:37:48 -07:00
Ron Buckton fbd57974c9 yield in async generator should implicitly unwrap operand 2017-04-17 14:15:13 -07:00
Ron Buckton 6c4a24eb11 Fix down-level emit for captured loop variable in async function 2017-04-11 17:30:53 -07:00
Ron Buckton d32231ebe3 Set numericLiteralFlags in factory to align with parser 2017-04-04 16:49:03 -07:00
Ron Buckton fd081f40a8 Clean up literal emit 2017-04-03 14:17:03 -07:00
Ron Buckton a4904935e0 Fix for-await-of emit in async function 2017-02-28 19:35:06 -08:00
Ron Buckton 8c2bcaedee Fix emit for downlevel generated catch variable 2017-02-27 11:46:56 -08:00
Ron Buckton 06c318c69a Merge branch 'master' into externalExportStar 2017-02-21 12:35:35 -08:00
Ron Buckton 7d77c2bc18 Fix for-await-of emit in async function 2017-02-17 18:01:13 -08:00
Ron Buckton 4db86f78b0 Merge branch 'master' into publicTransformers 2017-02-16 17:52:57 -08:00
Ron Buckton 67a004195a Minor factory cleanup 2017-02-16 17:42:58 -08:00
Ron Buckton 11f58ea2f0 Minor fixes after merging from master 2017-02-16 17:31:26 -08:00
Ron Buckton cf72ceb093 Merge branch 'master' into asyncGenerators 2017-02-16 17:22:43 -08:00
Ron Buckton 344a9d274d PR feedback 2017-02-16 17:16:27 -08:00
Ron Buckton 6ff081fea6 Merge branch 'master' into publicTransformers 2017-02-16 14:33:01 -08:00
Ron Buckton 511cc41e56 Better strictNullChecks support for TransformationContext 2017-02-16 14:13:59 -08:00
Ron Buckton af18df3fe8 Simplify visitNode 2017-02-16 14:11:53 -08:00
Ron Buckton 0243510315 clean up trailing whitespace 2017-02-16 13:56:32 -08:00
Ron Buckton fd320b0f83 Support strictNullChecks mode in visitors 2017-02-16 13:48:32 -08:00
Ron Buckton 0f495fb694 Merge branch 'strictNullFactories' into publicTransformers 2017-02-16 12:41:58 -08:00
Ron Buckton 3a7874f138 Update factories to work with strictNullChecks 2017-02-16 12:32:17 -08:00
Ron Buckton 23216f9ba1 Merge branch 'master' into genericDefaults 2017-02-14 19:19:18 -08:00
Ron Buckton dedf4a7538 Merge branch 'master' into asyncGenerators 2017-02-13 13:53:34 -08:00
Ron Buckton 3e427f4860 Merge branch 'master' into asyncGenerators 2017-02-10 09:46:06 -08:00
Ron Buckton cd22d81c67 Merge branch 'master' into publicTransformers 2017-02-09 15:44:51 -08:00
Ron Buckton a295aa8fd1 Reduce stack depth due to substitution 2017-02-09 13:10:17 -08:00
Ron Buckton 3b20d82ba6 allow 'transform()' to transform arbitrary nodes. 2017-02-08 17:02:07 -08:00
Ron Buckton c22730e22b Merge branch 'master' into publicTransformers 2017-02-07 18:20:46 -08:00
Ron Buckton fc2cf2f78f Make visitor functions public 2017-02-07 17:21:29 -08:00
Ron Buckton db23ca7c8b Guard public API surface of TypeChecker against synthesized nodes 2017-02-07 17:09:33 -08:00
Ron Buckton 75fa22c682 Remove debugger statement 2017-02-07 15:38:03 -08:00
Ron Buckton 1bbaaa3831 Make TransformationContext.getCompilerOptions public 2017-02-07 15:19:44 -08:00
Ron Buckton 6c59ee4ce6 Add assertions to verify user-exposed behavior. 2017-02-07 15:10:32 -08:00
Ron Buckton 2f624f5df3 Expose transformations as public API 2017-02-07 14:36:15 -08:00
Ron Buckton a7728f8fa1 Clean up extraneous file 2017-02-07 11:24:05 -08:00
Ron Buckton eedc2619db Minor PR feedback 2017-02-06 15:28:54 -08:00
Ron Buckton 9a65a66423 Fix linter error 2017-02-04 22:46:38 -08:00
Ron Buckton 96181c023b Shortcut for class/namespace merge 2017-02-03 16:36:48 -08:00
Ron Buckton 5bb2fe03ea Simplify checkTypeParameterListsIdentical 2017-02-03 16:34:42 -08:00
Ron Buckton 6ffcbf5b9c Merge branch 'master' into genericDefaults 2017-02-03 14:13:16 -08:00
Ron Buckton bd98bc97bd Add factory functions for rest of NodeEdgeTraversal 2017-02-03 14:12:50 -08:00
Ron Buckton 6091050bec Remove pre-computation of minTypeArgumentCount 2017-02-03 14:01:42 -08:00
Ron Buckton 7a539d0b85 Identifier escaping/unescaping for unique names 2017-02-03 12:40:39 -08:00
Ron Buckton e1f8be59f0 Merge checkIteratedType* functions 2017-02-02 22:30:58 -08:00
Ron Buckton 5ca6665d0c Typos and other minor PR feedback 2017-02-02 21:55:04 -08:00
Ron Buckton 94b37b1f20 Inline isThenableType 2017-02-02 21:43:51 -08:00
Ron Buckton 56a360c7ff Unify getIteratedTypeOf* functions 2017-02-02 21:36:09 -08:00
Ron Buckton 64be1f2da2 merge getIteratedTypeOfIterableOrElementTypeOf* 2017-02-02 14:45:58 -08:00
Ron Buckton 5d415cac52 Merge branch 'master' into asyncGenerators 2017-02-02 12:11:44 -08:00
Ron Buckton a72abc8ebc Make getOriginalNode/getParseTreeNode public 2017-02-01 19:41:28 -08:00
Ron Buckton ff4c72de00 Make most current Node factory functions public 2017-02-01 16:36:10 -08:00
Ron Buckton 984541316a Added comments and a few Debug assertions 2017-02-01 16:16:04 -08:00
Ron Buckton f02ce1f6a0 PR Feedback 2017-02-01 15:22:35 -08:00
Ron Buckton 9ba2a6b14a Skip type parameters. 2017-02-01 01:24:28 -08:00
Ron Buckton e0012587f5 Move non-local type parameter check to resolveName 2017-01-30 15:21:08 -08:00
Ron Buckton 7616e37b72 Use length() throught checker 2017-01-30 14:36:31 -08:00
Ron Buckton b58ef9e932 Merge branch 'master' into genericDefaults 2017-01-30 14:32:00 -08:00
Ron Buckton 64ff691a2e Move EmitTextWriter to types.ts 2017-01-30 14:21:52 -08:00
Ron Buckton f0563ac287 Printer API unit tests 2017-01-30 13:50:34 -08:00
Ron Buckton 0165b71549 Embed comment emit inside of printer 2017-01-30 12:38:18 -08:00
Ron Buckton 028e4e2b13 Extract printer from emitter for reusability. 2017-01-29 11:25:39 -08:00
Ron Buckton 20249e5c4a More exhaustive needsDotDotForPropertyAccess 2017-01-24 13:42:05 -08:00
Ron Buckton febde3fabc Revert noConstraintType name change 2017-01-24 10:58:27 -08:00
Ron Buckton f5f1c7e304 Merge branch 'genericDefaults' of https://github.com/Microsoft/TypeScript into genericDefaults 2017-01-23 19:40:07 -08:00
Ron Buckton 15232fe17c Remove circular default check 2017-01-23 19:36:02 -08:00
Ron Buckton 76ba6a7f6a Merge branch 'master' into genericDefaults 2017-01-20 20:37:35 -08:00
Ron Buckton 6b2c8cb7df Defaults for type aliases 2017-01-20 20:33:41 -08:00
Ron Buckton fd228a93a7 Remove partial inference 2017-01-20 18:30:06 -08:00
Ron Buckton a2be5e263a Report error using type parameter from merged declaration 2017-01-20 17:58:28 -08:00
Ron Buckton 5ff0f81827 Diagnostic message punctuation 2017-01-20 15:27:02 -08:00
Ron Buckton 0500065e8b Avoid inference for fully-supplied type arguments 2017-01-20 12:56:08 -08:00
Ron Buckton 21bf48551c Always descend into loop, fix lint warnings 2017-01-19 14:57:34 -08:00
Ron Buckton 74498bb076 Remove unnecessary widening, more PR feedback 2017-01-19 13:19:46 -08:00
Ron Buckton 0b44a2c74c Flexible declaration merging 2017-01-19 12:38:56 -08:00
Ron Buckton f9999e9738 PR Feedback 2017-01-18 12:42:51 -08:00
Ron Buckton 061175ef9f Emit 'object' type in declaration emitter 2017-01-15 16:26:17 -08:00
Ron Buckton 35ef1f7cbf Merge branch 'master' into asyncGenerators 2017-01-15 15:28:04 -08:00
Ron Buckton ca16ba8fe7 Added comments and additional circularity tests 2017-01-14 15:41:40 -08:00
Ron Buckton 25cb02e267 Fix circularity check, simplify default type mapper 2017-01-14 15:09:22 -08:00
Ron Buckton 442f5408b6 Updated Promise and PromiseLike to use defaults 2017-01-13 23:48:20 -08:00
Ron Buckton 3d3dae089f Adds support for type parameter defaults 2017-01-13 22:53:02 -08:00
Ron Buckton 6c29e58062 Fix super/this capture for extends null 2017-01-03 13:42:12 -08:00
Ron Buckton 5999a521f6 Support for an external exportStar helper 2016-12-31 19:12:57 -08:00
Ron Buckton 2e62d5eef8 Cleanup emit helper checks 2016-12-31 18:12:26 -08:00
Ron Buckton 5e0160bc95 Reduce number of helpers 2016-12-31 17:37:55 -08:00
Ron Buckton 30aff2f6d3 Rename and simplify 'iterationMode' option 2016-12-30 14:39:51 -08:00
Ron Buckton 6a737c88f7 Move async generators to esnext 2016-12-30 14:10:11 -08:00
Ron Buckton 0d7c9dc4e0 Merge branch 'master' into asyncGenerators 2016-12-30 13:05:01 -08:00
Ron Buckton d7b61b2da5 Aggregate flags for ExpressionWithTypeArguments 2016-12-27 17:58:42 -08:00