Commit Graph

14913 Commits

Author SHA1 Message Date
zhengbli e9b514cf8a Use fileName instead of Path when dealing with file systems directly 2016-03-23 12:49:34 -07:00
Mohamed Hegazy b07eb63000 Merge pull request #7645 from Microsoft/fix7637
Fix #7637: treat jsx tag names as expressions
2016-03-23 11:04:37 -07:00
Ron Buckton 284dacd10c Fix import binding substitution for AMD/CJS 2016-03-23 09:53:03 -07:00
Ron Buckton 7f51f7c81d Modified createIdentifier to track originalKeywordKind 2016-03-23 09:40:51 -07:00
Arnavion d2d02c796b RegExp.compile() actually returns this, per ES6 annex B. 2016-03-22 19:49:43 -07:00
Arnavion 7bb0ce9048 Add nullability annotations to core.d.ts and es6.d.ts 2016-03-22 18:39:12 -07:00
Ron Buckton 63cf58bd09 Fix extra slice in array with spread 2016-03-22 16:49:16 -07:00
Ron Buckton 0f9bccdf32 Fix missing commas in binding pattern emit. 2016-03-22 16:42:22 -07:00
Ron Buckton f02a13d55b Merge branch 'transforms' of https://github.com/Microsoft/TypeScript into transforms 2016-03-22 16:16:00 -07:00
Ron Buckton 1ecbc51873 Fix unnecessary parens for omitted expressions and trailing commas in spread arrays 2016-03-22 16:15:26 -07:00
Vladimir Matveev ae0f8a9853 Merge pull request #7646 from Microsoft/system-transforms
fix a few issues in the emit of System modules
2016-03-22 16:12:47 -07:00
Vladimir Matveev c4ecdd8b91 fix issues in emit of System modules 2016-03-22 15:43:43 -07:00
Ron Buckton 1b24d470bb Fix default class and function exports 2016-03-22 15:14:23 -07:00
Mohamed Hegazy 3ee67e7cf6 Fix #7637: treat jsx tag names as expressions 2016-03-22 14:55:24 -07:00
Ron Buckton ae5b72df5a Fix for amd-dependency paths 2016-03-22 14:21:44 -07:00
Ron Buckton d11580635a Fixes order of amd-dependency imports 2016-03-22 12:40:01 -07:00
Ron Buckton fa695d30bb Fix comment emit for import equals 2016-03-22 12:31:34 -07:00
Ron Buckton 1c760efdfd Minor update to source map emit and fix for positions 2016-03-22 12:23:30 -07:00
Ron Buckton 9b7270f124 Minor cleanup of ts transformations. 2016-03-22 11:10:24 -07:00
Anders Hejlsberg 80c2e5ead2 Accepting new baselines 2016-03-22 10:57:56 -07:00
Anders Hejlsberg 7c45c7ba9f Fixing tests 2016-03-22 10:50:06 -07:00
Ron Buckton 4b9555d4f8 Fixes emit for async function declarations. 2016-03-22 10:38:58 -07:00
Anders Hejlsberg afa1714c03 Add type annotations to suppress circularity errors 2016-03-22 10:22:08 -07:00
Anders Hejlsberg e67d15a1ce Initial implementation of control flow based type analysis 2016-03-22 10:20:43 -07:00
Anders Hejlsberg 9094e01e75 Merge pull request #7635 from Microsoft/considerAmbientAssigned
Always consider ambient variables assigned
2016-03-22 10:03:43 -07:00
Anders Hejlsberg 7809bcbf84 Always consider ambient variables assigned 2016-03-22 09:01:00 -07:00
Ron Buckton 28499dd8ef Fixes issues with emit for cloned identifiers 2016-03-21 18:31:32 -07:00
Ron Buckton 913545e9a7 Adds implicit "use strict" for amd modules and fixes issues with variable names and classes. 2016-03-21 18:24:41 -07:00
Ron Buckton e5e2340af9 Fixes issue with variable declarations for modules 2016-03-21 17:31:24 -07:00
Anders Hejlsberg 3853bb86d0 Merge pull request #7140 from Microsoft/strictNullChecks
Non-nullable types
2016-03-21 16:52:43 -07:00
Mohamed Hegazy 7c99c8f8df Merge pull request #7622 from Microsoft/findAllReferencesForJSXTagNames
Fix issue with find references for jsx tags
2016-03-21 16:28:31 -07:00
Anders Hejlsberg fb6255a7e4 Accepting new baselines 2016-03-21 16:28:09 -07:00
Anders Hejlsberg 413d9a639f Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
	tests/baselines/reference/typeGuardOfFormTypeOfEqualEqualHasNoEffect.symbols
	tests/baselines/reference/typeGuardOfFormTypeOfNotEqualHasNoEffect.symbols
2016-03-21 16:21:02 -07:00
Vladimir Matveev 4e06457b1d Merge pull request #7595 from Microsoft/revertParseCompilerOptionsFromJson
revert changes in the signature of 'convertCompilerOptionsFromJson'
2016-03-21 16:07:31 -07:00
Ron Buckton 2c03633eda Fix emit for accessors with missing bodies 2016-03-21 15:58:28 -07:00
Ron Buckton 25998ae865 Fixes emit for module/enum and single-line arrow functions. 2016-03-21 15:50:52 -07:00
Mohamed Hegazy d5c3a0a52b Fix issue with find references for jsx tags 2016-03-21 15:40:14 -07:00
Vladimir Matveev e052eb1cda Merge pull request #7621 from Microsoft/dropInferenceLimit
drop inference depth limit
2016-03-21 15:36:36 -07:00
Vladimir Matveev 134a253f57 added API sample to tests 2016-03-21 15:20:59 -07:00
Vladimir Matveev cc8277c4db Merge pull request #7591 from Microsoft/allow-merge-for-types-namespaces
Allow aliases to be merged with exported types\namespaces
2016-03-21 15:16:10 -07:00
Vladimir Matveev 6f37d31e18 drop inference limit 2016-03-21 15:15:41 -07:00
zhengbli 07185c1c4a Routine update of dom-related lib.d.ts 2016-03-21 12:55:55 -07:00
Ron Buckton 9bbbb33df5 Updated baseline 2016-03-21 12:30:36 -07:00
Ron Buckton 92fbe6b231 Added environment variable support to tests 2016-03-21 11:58:34 -07:00
Ron Buckton 02ebfa5d11 Added environment variable to force experimental transformations. 2016-03-21 11:54:10 -07:00
Daniel Rosenwasser 8514d0d5eb Merge pull request #7604 from Microsoft/noPrimitiveUnionBreakdown
Avoid elaborating errors when relating primitives to union types of any form.
2016-03-21 10:49:09 -07:00
Ryan Cavanaugh 32b4e46c1d Update tests 2016-03-21 09:23:41 -07:00
Ryan Cavanaugh c8cd748e48 Handle JSDoc tags on 'this' properties 2016-03-21 09:23:33 -07:00
Ryan Cavanaugh cbc112a761 Support this.prop = expr; assignments as declarations for ES6 JS classes 2016-03-21 08:26:56 -07:00
Daniel Rosenwasser e9aeaa2f0d Accepted baselines. 2016-03-20 12:31:11 -07:00