Commit Graph

26317 Commits

Author SHA1 Message Date
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
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 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 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 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 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
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 323a195db9 Don't elaborate errors when trying to relate a primitive to a union. 2016-03-20 12:30:54 -07:00
Vladimir Matveev 497b4c341c revert changes in the signature of 'convertCompilerOptionsFromJson' 2016-03-19 20:59:32 -07:00
Vladimir Matveev 3691261db4 partially revert #7583 2016-03-18 22:26:52 -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 200f162bf6 rename LanguageService.getSourceFile to LanguageService.getNonBoundSourceFile and mark it as internal 2016-03-18 11:27:21 -07:00
zhengbli 74e3d7bb01 Fix project updateing issue after editing config file 2016-03-18 11:02:52 -07:00
Vladimir Matveev 5ed389b6b4 check if import collides with exported local name 2016-03-18 10:29:01 -07:00
zhengbli cb46f16406 Fix failed tests 2016-03-17 19:57:40 -07:00
zhengbli d7e1d34e38 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2 2016-03-17 17:11:52 -07:00
Vladimir Matveev 279fec7a7d Merge pull request #7567 from Microsoft/contextual-type-parameters
show completion in destructured parameter if containing function was contextually typed
2016-03-17 16:30:20 -07:00
zhengbli c8e0b00007 Make language service optional for a project 2016-03-17 15:55:53 -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 112e4b1e80 Addressed PR feedback 2016-03-17 14:40:05 -07:00
Vladimir Matveev 6cfa64daa3 show completion in destructured parameter if containing function was contextually typed 2016-03-17 11:37:52 -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