Commit Graph

6862 Commits

Author SHA1 Message Date
Anders Hejlsberg 6e169d5bee Merge branch 'master' into exportDefault
Conflicts:
	tests/baselines/reference/es5ExportDefaultFunctionDeclaration.js
	tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.js
2015-03-30 02:45:10 -07:00
Anders Hejlsberg 872beeee95 Accepting new baselines 2015-03-30 02:25:47 -07:00
Anders Hejlsberg 3a72c004a0 Emit generated name for unnamed default function in down-level code 2015-03-30 02:25:09 -07:00
CyrusNajmabadi 71590de1eb Merge pull request #2539 from Microsoft/forOfLengthCache
Remove experimental flag to cache for-of length checks.
2015-03-29 22:12:43 -07:00
Anders Hejlsberg 2dfe32a4df Fix export.default assignment for export default class/function 2015-03-29 01:29:09 -07:00
Cyrus Najmabadi 3b35473e25 Merge branch 'master' into forOfLengthCache
Conflicts:
	Jakefile
	src/compiler/commandLineParser.ts
	src/compiler/types.ts
2015-03-29 00:09:29 -07:00
CyrusNajmabadi 78197ed60b Merge pull request #2518 from Microsoft/preserveNewLines3
Always preserve new lines for array and object literals and additional constructs like blocks.
2015-03-28 23:56:08 -07:00
Cyrus Najmabadi 7fff53cf33 Remove experimental flag to cache for-of length checks. 2015-03-28 23:50:52 -07:00
Cyrus Najmabadi 62460aed4b Merge branch 'master' into preserveNewLines3
Conflicts:
	tests/baselines/reference/ES5For-of22.js
2015-03-28 23:45:47 -07:00
Anders Hejlsberg 485b5a140b Merge pull request #2535 from Microsoft/disposeFileWatcher
Fix: File watchers not being disposed in -watch mode
2015-03-28 07:19:03 -07:00
Yui 8841fc9458 Merge pull request #2532 from Microsoft/fixRWC
Allow RWC runner to use default library in built/local/lib.d.ts
2015-03-27 17:47:26 -07:00
Yui e2fc72b6c2 Merge pull request #2533 from Microsoft/ignoreProjectOutput
Ignore projectoutput folder since this will be deleted by jake command
2015-03-27 16:53:34 -07:00
Yui T 429fa031ac Merge branch 'ignoreProjectOutput' of https://github.com/Microsoft/TypeScript into ignoreProjectOutput 2015-03-27 16:12:54 -07:00
Yui T a8e4f27e50 Address code review 2015-03-27 16:12:19 -07:00
Anders Hejlsberg d15278bb86 Fix: File watchers not being disposed in -watch mode 2015-03-27 15:53:01 -07:00
Mohamed Hegazy 20d892a7a8 Update LKG 2015-03-27 15:44:57 -07:00
Yui T 3cb6df328d Remove empty line 2015-03-27 13:47:38 -07:00
Yui T 61a391aaad Merge branch 'ignoreProjectOutput' of https://github.com/Microsoft/TypeScript into ignoreProjectOutput 2015-03-27 13:31:15 -07:00
Yui T 328347c327 Ignore projectoutput folder since this will be deleted by jake command 2015-03-27 13:31:02 -07:00
Yui T e3f93b132a Ignore projectoutput folder since this will be deleted by jake command 2015-03-27 13:25:39 -07:00
Yui T 66f0715a84 Allow RWC runner to use default library instead of the one in json file 2015-03-27 10:31:46 -07:00
Anders Hejlsberg 4894fee7d3 Merge pull request #2514 from Microsoft/simplifyTempLogic
Simplify temporary name generation logic
2015-03-27 10:24:25 -07:00
Cyrus Najmabadi eb5e1bcbad Use a function declaration vs a function expression to help deal with a reported Atom+IO.js issue. 2015-03-26 23:55:10 -07:00
zhongsp 4fb4418dad doc: fix typo BankAccount and regenerate language specification 2015-03-27 10:10:46 +08:00
Anders Hejlsberg 4788581f53 Addressing CR feedback 2015-03-26 16:32:27 -07:00
Steve Lucco 0ec6edaaf6 Merge pull request #2504 from Microsoft/fixConfigLookup
Fix bug stemming from use of tsc findConfigFile by server.
2015-03-26 15:24:46 -07:00
Jason Freeman 903c1d8dd8 Add clarifying comment about checkExpressionCached 2015-03-26 15:15:02 -07:00
Cyrus Najmabadi ceeeb9cd11 Always preserve new lines for array and object literals and additional constructs like blocks. 2015-03-26 13:46:35 -07:00
Jason Freeman de8de7ac96 Merge branch 'master' into iteratorSpreadDestructure 2015-03-26 12:26:40 -07:00
Anders Hejlsberg 82b6acaab9 Accepting new baselines 2015-03-26 11:07:28 -07:00
Anders Hejlsberg 184ce98bf6 Simplify temporary name generation logic 2015-03-26 10:51:07 -07:00
Mohamed Hegazy 83e8910dc1 update version in program 2015-03-26 10:44:44 -07:00
Dirk Baeumer c123208784 fixes #2507 - bad formatting for formatonkey if convertTabsToSpaces === false 2015-03-26 15:33:15 +01:00
Dirk Baeumer 631a9d80be Merge pull request #2489 from dbaeumer-feature/formatOptions 2015-03-26 11:23:14 +01:00
steveluc 237225b01a Fix bug stemming from use of tsc findConfigFile by server. Server needs
its own version of this because tsc always starts from the current
directory but the server must start from whatever directory contains the
newly opened file.
2015-03-26 00:21:27 -07:00
Jason Freeman d7af0db0e2 Merge pull request #2501 from Microsoft/elaborateErrors
Make elaborateErrors persist throughout type relation checks
2015-03-26 00:20:40 -07:00
Vladimir Matveev a51f0bf8bb added relaxed emit rules for separate compilation 2015-03-25 23:18:58 -07:00
Shengping Zhong 7ee698c450 doc: fix typo 'BankAccount' 2015-03-26 11:29:56 +08:00
Jason Freeman 7a44b9ed57 Make elaborateErrors persist throughout type relation checks 2015-03-25 19:23:44 -07:00
Jason Freeman 17719e85ff Fix comment to be more accurate 2015-03-25 19:06:34 -07:00
Daniel Rosenwasser 19211b1292 Got rid of 'getExportsOfImportDeclaration'. 2015-03-25 18:40:06 -07:00
Jason Freeman 197a42a692 Optimize direct Iterable reference in getIteratedType 2015-03-25 18:38:14 -07:00
Ron Buckton 71803c6412 Minor emit cleanup 2015-03-25 18:12:57 -07:00
Daniel Rosenwasser 77492382ea Updated API baselines. 2015-03-25 18:08:46 -07:00
Jason Freeman e1f2fbff63 Add tests for array destructuring of iterables 2015-03-25 18:04:11 -07:00
Jason Freeman a477b63420 Adjust getTypeFromArrayBindingPattern to return an array if inside a rest parameter 2015-03-25 18:04:08 -07:00
Jason Freeman 6b2d5ceb7c Wrap elementType in createArrayType for rest element in checkArrayLiteralAssignment 2015-03-25 18:04:04 -07:00
Jason Freeman 17d201f922 Use iterated type in checkArrayLiteralAssignment 2015-03-25 18:04:01 -07:00
Jason Freeman 06d6717859 Type of an array binding element is the iterated type of its parent in ES6 2015-03-25 18:03:58 -07:00
Jason Freeman 806c9ce25b Refactor iterable or array checks into checkIteratedTypeOrElementType 2015-03-25 18:03:55 -07:00