Commit Graph
2443 Commits
Author SHA1 Message Date
Ryan Cavanaugh c05297cfea Merge pull request #5178 from RyanCavanaugh/fix5132
Escape quotes when emitting React
2015-10-12 11:56:46 -07:00
Vladimir Matveev 22e68de7ec Merge pull request #5216 from Microsoft/checkFunctionsInClassExpressions
check functions in class expressions
2015-10-12 11:09:21 -07:00
Vladimir Matveev ca98831674 addressed PR feedback: added tests for let declarations 2015-10-12 10:22:18 -07:00
Vladimir Matveev adf9f9b8df check initialization of exported block scoped variables 2015-10-12 09:59:41 -07:00
Vladimir Matveev a0683276d1 check functions in class expressions 2015-10-11 21:57:17 -07:00
Vladimir Matveev 1b5dc0d7d1 Merge pull request #5121 from Microsoft/shorthandPropsInDestructuring
parse/check/emit shorthand property assignment in destructuring
2015-10-10 22:39:05 -07:00
Martin Vseticka 69ff6f5090 Add "A module cannot have multiple default exports." message for multiple "default" exports 2015-10-09 21:37:54 +02:00
Vladimir Matveev a556209b7e addressed PR feedback 2015-10-09 09:55:25 -07:00
Mohamed Hegazy 350bb1f315 Merge pull request #5167 from jbondc/const-indexed-access
Const enum indexed access
2015-10-08 15:39:14 -07:00
jbondc afa08181e2 Address code review.
Accept baselines.
2015-10-08 17:30:46 -04:00
Ryan Cavanaugh d229ae4be5 Escape quotes when emitting React 2015-10-08 11:28:18 -07:00
Anders Hejlsberg cae21c09b4 Adding tests 2015-10-08 10:58:58 -07:00
jbondc 82eb992dc4 Accept baselines. 2015-10-08 08:21:28 -04:00
Ron Buckton 703af074ff Fixes some checker errors regarding async functions. Fixes #5115. 2015-10-06 16:44:48 -07:00
Ron Buckton 64b6c9f52e Fix emit for ES6 export default class with static initializers. Fixes #5136. 2015-10-06 12:02:55 -07:00
Ryan Cavanaugh d7eaa12aad Merge pull request #5126 from RyanCavanaugh/noLibSymbolLines
Don't show lib.d.ts line numbers in symbol baselines
2015-10-06 10:00:26 -07:00
Ryan Cavanaugh 7280509058 Don't show lib.d.ts line numbers in symbol baselines 2015-10-05 16:37:45 -07:00
Vladimir Matveev a975895e4d parse/check/emit shorthand property assignment in destructuring 2015-10-05 14:39:57 -07:00
Anders Hejlsberg c7fdc0a6e5 Merge pull request #5099 from Microsoft/deferMemberInstantiation
Defer member instantiation
2015-10-05 12:46:49 -07:00
Wesley Wigham 28475c345d Change prologue emit location to inside module IIFEs 2015-10-05 11:22:16 -07:00
Nathan Shively-Sanders 4ecf4f4e71 Merge pull request #5086 from Microsoft/abstract-semicolon-insertion
Automatic semicolon insertion for class modifiers
2015-10-05 10:35:42 -07:00
Ryan Cavanaugh 1e3125b8ed Merge pull request #5046 from RyanCavanaugh/fix4675
Handle indirect imports of JSX elements from external modules
2015-10-05 10:28:07 -07:00
Anders Hejlsberg d9933c8d0e Accepting new baselines 2015-10-03 18:09:11 -07:00
Ron Buckton 331d26f402 Merge pull request #4741 from Microsoft/es3Decorators
Allow decorators in ES3
2015-10-02 16:22:14 -07:00
Nathan Shively-Sanders be9548ade9 Merge branch 'master' into abstract-semicolon-insertion 2015-10-02 15:46:02 -07:00
Nathan Shively-Sanders 04510ac157 Automatic semicolon insertion for class modifiers
This includes public, private, protected, abstract

async and declare already work this way, but it looks
like they didn't block the completion list, so I added
them to the list too.
2015-10-02 14:30:31 -07:00
Ryan Cavanaugh 19b208cec6 Merge pull request #5040 from RyanCavanaugh/fix4688
Identify JSX Spread Attributes as Expression parents
2015-10-02 08:00:32 -07:00
Ron Buckton be6e43e108 Merge branch 'master' into es3Decorators 2015-10-01 16:56:25 -07:00
Daniel Rosenwasser acef223f95 Merge pull request #5043 from Microsoft/findRefsOnVarInExtends
Correctly recognize value symbol presence of expressions in extends clauses
2015-10-01 12:36:12 -07:00
yaoyao 2428e65ac3 change the references to the error message 2015-10-01 10:05:40 +08:00
Ryan Cavanaugh 590569b87d Handle indirect imports of JSX elements from external modules
Fixes #4675
2015-09-30 15:20:56 -07:00
Daniel Rosenwasser cbca15435f Accepted baselines. 2015-09-30 14:32:11 -07:00
Daniel Rosenwasser a29f01413d Accepted baselines. 2015-09-30 13:51:12 -07:00
Ryan Cavanaugh 77c0c12fce Accept symbol baselines 2015-09-30 13:39:49 -07:00
Anders Hejlsberg cbe2f3df64 Merge pull request #4910 from Microsoft/polymorphicThisType
Polymorphic 'this' type
2015-09-30 13:18:33 -07:00
Anders Hejlsberg 82c010e12a Adding contextual typing test 2015-09-29 15:26:27 -07:00
Anders Hejlsberg 81934ab0af Accepting new baselines 2015-09-29 15:16:08 -07:00
Vladimir Matveev b4f326ab04 collect imports and exports in ambient external modules 2015-09-29 15:06:03 -07:00
Ryan Cavanaugh c452606cc1 Merge pull request #5007 from RyanCavanaugh/fix4514
Allow /* comments between < and JSX element name
2015-09-29 11:55:29 -07:00
Ryan Cavanaugh b2797bbaab Correctly emit 'as' operator left operand as expression
Fixes #4832
2015-09-28 17:24:59 -07:00
Ryan Cavanaugh f780d68499 Allow /* comments between < and JSX element name 2015-09-28 16:11:10 -07:00
Vladimir Matveev b046c3a570 Merge pull request #4980 from csnover/fix-4952
Put AMD dependency list inline with define call in UMD modules
2015-09-28 10:41:23 -07:00
MartyIX 08a494ecbf Update emitter.ts
Proposed fix for #4908

Can anybody confirm if I'm on a right track?
2015-09-28 07:53:15 +02:00
Anders Hejlsberg 1c9fae8e0c Add tuple type test 2015-09-27 09:05:17 -07:00
Anders Hejlsberg 19319b2208 Adding test for declaration files 2015-09-26 15:56:00 -07:00
Anders Hejlsberg 29f6036176 Fixing comment and error message per CR feedback 2015-09-26 14:31:03 -07:00
Anders Hejlsberg abd2a8526d Adding tests 2015-09-26 12:58:53 -07:00
Anders Hejlsberg 9594835046 Accepting new baselines 2015-09-26 07:30:46 -07:00
Colin Snover f3969048c5 Put AMD dependency list inline with define call in UMD modules
Fixes #4952.
2015-09-25 23:57:47 +00:00
Vladimir Matveev b866781609 Merge pull request #4946 from Microsoft/constInitializersInEnums
align behavior of constant expressions in initializers of ambient enu…
2015-09-24 21:49:35 -07:00