5357 Commits

Author SHA1 Message Date
Ron Buckton
02ebfa5d11 Added environment variable to force experimental transformations. 2016-03-21 11:54:10 -07:00
Ron Buckton
3c344987de Merge branch 'master' into transforms 2016-03-18 17:13:55 -07:00
Ron Buckton
3c5f17067f Merge pull request #7206 from Microsoft/transforms-transformer-module
Adds the Module transformers
2016-03-18 14:37:00 -07:00
Ron Buckton
ae7843dd95 PR Feedback 2016-03-18 13:05:59 -07:00
Ron Buckton
ad0dd4e2e2 Fixed perf issue in binder, plus PR feedback 2016-03-18 12:38:19 -07:00
Vladimir Matveev
32178acdfe Merge pull request #7583 from Microsoft/colliding-local-import
check if import collides with exported local name
2016-03-18 12:21:51 -07:00
Vladimir Matveev
5ed389b6b4 check if import collides with exported local name 2016-03-18 10:29:01 -07:00
Mohamed Hegazy
f0b3ff16e3 Merge pull request #7532 from Microsoft/declarationEmitFixes2
Remove members from getAccessibleSymbolChain walk
2016-03-17 15:50:27 -07:00
Vladimir Matveev
51e8f7dd7a Merge pull request #7555 from Microsoft/destructuring-variable-declarations
Destructuring in variable declarations when module kind is not ES6
2016-03-17 10:37:34 -07:00
Vladimir Matveev
c9ef8be16c addressed PR feedback 2016-03-17 07:05:33 -07:00
Vladimir Matveev
57d9a5ada5 emit top level classes as class expressions when target=ES6 and module=System 2016-03-16 21:56:53 -07:00
Yui
b5f418ffcc Merge pull request #7522 from Microsoft/parseCompilerFlagsWithListOptions
Parsing compiler flags which takes options in form of list
2016-03-16 17:13:43 -07:00
Vladimir Matveev
6cf57b1bca fix comments 2016-03-16 16:42:23 -07:00
Vladimir Matveev
3ede567fbc use downlevel destructuring for exported variables for target=ES6 if module kind is not ES6 2016-03-16 16:40:35 -07:00
Kanchalai Tanglertsampan
9e2df0459e Address PR 2016-03-16 16:35:51 -07:00
Kanchalai Tanglertsampan
266a92b1f3 Address PR 2016-03-16 15:29:13 -07:00
Kanchalai Tanglertsampan
9a5542b1fd Remove unused error message 2016-03-16 14:21:20 -07:00
Kanchalai Tanglertsampan
03bf75bf06 Remove unused error message 2016-03-16 14:09:02 -07:00
Kanchalai Tanglertsampan
f7a55fa5a2 Remove --lib 2016-03-16 14:08:49 -07:00
Kanchalai Tanglertsampan
92bee6a533 Unify error message for custom-type compiler option 2016-03-16 13:49:36 -07:00
Mohamed Hegazy
e0ab009a98 Remove members from getAccessibleSymbolChain walk 2016-03-16 13:45:38 -07:00
Kanchalai Tanglertsampan
4d915e59d9 Using ts.filter instead of just .filter 2016-03-15 17:04:18 -07:00
Kanchalai Tanglertsampan
95b43dac29 Handle default compiler-options and typing-options 2016-03-15 16:30:11 -07:00
Chuck Jazdzewski
8bf9da614f Adding sourceFiles to the Program emit callback
This implements #7438
2016-03-15 13:25:18 -07:00
Kanchalai Tanglertsampan
f4e920e2c1 Add unittest for testing convert compiler-options and typing-options 2016-03-15 11:45:21 -07:00
Kanchalai Tanglertsampan
157b8e7456 Add a new unittest for command line parsing for --lib 2016-03-15 11:44:33 -07:00
Kanchalai Tanglertsampan
be0592da3b Add correct options for --lib 2016-03-14 15:53:42 -07:00
Kanchalai Tanglertsampan
eb82824697 Chagne specifies -> specify 2016-03-14 15:49:29 -07:00
Mohamed Hegazy
0735f465f0 Add support for list types
consolidate typings options and commmandline option parsing from json files

Fix
2016-03-14 15:28:49 -07:00
Mohamed Hegazy
3adab0cec3 revert 2016-03-14 14:42:43 -07:00
Vladimir Matveev
e0a79bcd63 don't check that return statement has expression in constructors 2016-03-13 15:31:55 -07:00
Anil Anar
8e35cdd52c add missing conditional check 2016-03-12 21:16:43 +01:00
Anil Anar
cde06b6585 Fix #7397: Remove error checks for noEmit and out* compiler options combined. 2016-03-12 19:20:18 +01:00
Ron Buckton
94018a13e6 cleaned up assertions and removed flattenNodes. 2016-03-10 12:47:10 -08:00
Ron Buckton
2699bf923b Removed NodeArrayNode in favor of arrays 2016-03-10 11:45:20 -08:00
Ron Buckton
47cdfbe55c Add support for array return values from visitors 2016-03-10 11:40:57 -08:00
Ron Buckton
99e6ad8b63 Removed ModifiersArray 2016-03-10 11:23:17 -08:00
Ron Buckton
5b8cf96028 Moved modifier related flags to separate enum 2016-03-10 11:12:24 -08:00
Ryan Cavanaugh
7d372bf6dc Merge pull request #7264 from RyanCavanaugh/umd
UMD support
2016-03-10 10:59:45 -08:00
Vladimir Matveev
489bf921ff Merge pull request #7464 from Microsoft/capturedLetConstInDestructuringAssignment
correctly recognize captured loop variables in destructuring assignment
2016-03-10 10:17:19 -08:00
Vladimir Matveev
7344d9ca47 correctly recognize captured loop variables in destructuring assignment 2016-03-10 09:59:09 -08:00
Bill Ticehurst
9924e0a801 Addressed feedback
(cherry picked from commit fa6db1b8c95e28209a4147838dc7fd2ca433b9df)
2016-03-09 19:13:14 -08:00
Bill Ticehurst
3ebf0fc383 Fixed default import from export equals
(cherry picked from commit c4a10cfcdd51f831c3039e305c1c465a85c93b0b)
2016-03-09 19:13:14 -08:00
Bill Ticehurst
b760fc0ae0 Fixed es2015 imports from export=
(cherry picked from commit 9e46c180b4063e56eb947928615a3ebd46ecbe5e)
2016-03-09 19:13:13 -08:00
Bill Ticehurst
4ec4ce814d Updated binding for module.exports
(cherry picked from commit 62bf4aefe23aeb67513af1b4961288244e9716a1)
2016-03-09 19:13:13 -08:00
Ryan Cavanaugh
c72f1c354b Reuse existing var 2016-03-09 16:08:08 -08:00
Yui
05baf3dac7 Merge pull request #7356 from Microsoft/fix7354
Concat declaration error so we report them
2016-03-09 13:02:45 -08:00
Vladimir Matveev
5d5fee2ef1 Merge pull request #7450 from Microsoft/noImplicitReturnsInAsync
unwrap promised typed in async function before doing 'noImplicitRetur…
2016-03-09 12:42:10 -08:00
Anders Hejlsberg
614afb740d Merge pull request #7448 from Microsoft/optimizeInstantiation
Skip unnecessary instatiation of anonymous types
2016-03-09 12:40:32 -08:00
Vladimir Matveev
907ce8fb38 unwrap promised typed in async function before doing 'noImplicitReturns' check 2016-03-09 11:23:55 -08:00