3756 Commits

Author SHA1 Message Date
Sheetal Nandi
f28fbfd7c5 Merge branch 'master' into tscJsFiles 2015-10-12 12:51:24 -07:00
Sheetal Nandi
6882035dc0 Verify if one or more files are emitting into same output file we provide error 2015-10-12 12:50:35 -07:00
Sheetal Nandi
a87dae15a9 Verify that when emit blocking error occurs rest of the emit occurs as expected 2015-10-12 12:44:21 -07:00
Sheetal Nandi
5e14edb4b7 Verify the emit file name is unique and doesnt overwrite input file
Fixes #4424
2015-10-12 12:25:13 -07:00
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
d757e5e7a2 Merge pull request #5226 from Microsoft/blockScopedExports
check initialization of exported block scoped variables
2015-10-12 10:32:57 -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
c35419e12e add rule to insert space between async keyword and open paren 2015-10-11 22:19:51 -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
Paul van Brenk
573652160c Merge pull request #5197 from Microsoft/supportIndentStyle
Support different indentation styles
2015-10-09 16:51:39 -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
Sheetal Nandi
2c3c321593 Merge branch 'master' into tscJsFiles 2015-10-08 14:40:40 -07:00
jbondc
afa08181e2 Address code review.
Accept baselines.
2015-10-08 17:30:46 -04:00
Sheetal Nandi
f7b72047f0 Remove extension for emitting output should remove any of supported extensions + js/jsx to get the dts file 2015-10-08 14:26:40 -07: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
jbondc
8960f523ea Resolve const enum value in index access. 2015-10-08 07:57:35 -04:00
Vladimir Matveev
fb1d2cf42c address PR feedback 2015-10-07 15:48:53 -07:00
Vladimir Matveev
75af4f70b6 transpile text as tsx if jsx option is specified 2015-10-07 10:37:28 -07: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
Sheetal Nandi
b580c5588e Merge branch 'master' into tscJsFiles 2015-10-05 16:42:37 -07:00
Ryan Cavanaugh
7280509058 Don't show lib.d.ts line numbers in symbol baselines 2015-10-05 16:37:45 -07:00
Sheetal Nandi
567d71c848 Add new test cases 2015-10-05 16:02:04 -07:00
Sheetal Nandi
938c5334eb Remove the failing testcases 2015-10-05 16:01:33 -07:00
Mohamed Hegazy
53cff210fd Merge pull request #5103 from SaschaNaz/formatStringTemplates
Format template internal spaces
2015-10-05 16:01:10 -07:00
Sheetal Nandi
b3e4f8e1ca Create new tscconfig files for the failing testcases 2015-10-05 15:18:46 -07:00
Sheetal Nandi
108f8568ef Remove tsconfig files of failing testcases 2015-10-05 15:17:10 -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
SaschaNaz
c9e237c2b3 Format template internal spaces 2015-10-05 07:02:22 +09:00
Anders Hejlsberg
d9933c8d0e Accepting new baselines 2015-10-03 18:09:11 -07:00
Anders Hejlsberg
139b5545a0 Adding tests 2015-10-03 18:08:45 -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