Commit Graph

7968 Commits

Author SHA1 Message Date
Jason Freeman edf1ae6d36 Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes
Conflicts:
	src/compiler/utilities.ts
2015-04-15 17:23:12 -07:00
Jason Freeman 1cda3dc45d Fix parenthesizeForAccess to always parenthesize NewExpressions and NumberLiterals 2015-04-15 17:22:19 -07:00
Cyrus Najmabadi 87b06f4c3f Merge branch 'master' into symbolWriter2
Conflicts:
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.types
2015-04-15 17:01:36 -07:00
Yui T 8899d5f056 Add additional tests for typeguard for class or object property 2015-04-15 16:55:59 -07:00
CyrusNajmabadi 0b13ca4751 Merge pull request #2734 from Microsoft/singletonScanner
Use a single scanner for all parsing tasks.
2015-04-15 16:46:49 -07:00
Cyrus Najmabadi a2efe474cf Split symbol baselines from type baselines. 2015-04-15 16:44:20 -07:00
Cyrus Najmabadi b51230f794 CR feedback. Use a module instead. 2015-04-15 16:16:45 -07:00
Cyrus Najmabadi ed12bef3cc Update diagnostics. 2015-04-15 15:53:24 -07:00
Jason Freeman b1acce0e5f Merge pull request #2778 from Microsoft/typeParameterUnionAssignability
Change assignability to account for type parameters extending unions
2015-04-15 15:52:57 -07:00
Cyrus Najmabadi 030276d517 Merge branch 'master' into singletonScanner 2015-04-15 15:48:59 -07:00
Jason Freeman e05a94457e Fix up comment 2015-04-15 11:49:13 -07:00
Jason Freeman 628a5baf4a Improve error message for type parameter extending union 2015-04-15 11:49:10 -07:00
Jason Freeman 1d8fb49f4c Source type parameter extending union works even when target is a type parameter 2015-04-15 11:49:06 -07:00
Jason Freeman 65790d1663 Check assignability recursively when source is type parameter with union constraint 2015-04-15 11:49:02 -07:00
Yui T 1d793f4c5e Destructuring assignment and variable declaration 2015-04-14 23:44:14 -07:00
Ron Buckton 3eb0a3abab PR Feedback and updated baselines 2015-04-14 23:22:58 -07:00
Mohamed Hegazy 05480e38bd Merge pull request #2730 from Microsoft/exposeHelpers
Expose helpers
2015-04-14 23:20:25 -07:00
Mohamed Hegazy a8e4803fcd Update LKG 2015-04-14 23:10:07 -07:00
Mohamed Hegazy 97e1973b4d Merge branch 'master' into exposeHelpers 2015-04-14 23:09:35 -07:00
Mohamed Hegazy 27b79ff99a respond to code review commment 2015-04-14 22:57:06 -07:00
Mohamed Hegazy af661ae23e Merge branch 'master' into rootDir
Conflicts:
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.types
2015-04-14 22:46:31 -07:00
Mohamed Hegazy 16bbedcbf9 Add source maps to rootdir tests 2015-04-14 22:27:42 -07:00
Mohamed Hegazy a2e888de13 Accept baselines 2015-04-14 22:20:08 -07:00
Mohamed Hegazy 99c0adbc2a Add rootDir tests 2015-04-14 22:19:59 -07:00
Mohamed Hegazy 261adffe50 Add rootDir option 2015-04-14 22:11:25 -07:00
Zhengbo Li 428a6e931f Update according to comments
Added document string; changed back some method param types of interface Console from 'any' to 'string'; Removed static members from interface instance definition; Sorted overloads of 'addEventListener's by event name; Removed unnecessary declaration of the 'addEventListener' method in some interfaces; For method overloads, moved the most generic ones to the last; Removed named-constructors and dictionary interfaces from webworkers.generated.d.ts (including Audio, Image etc); Made all string overloads of 'getElementsByTagName' lower case for consistency.
2015-04-14 19:45:00 -07:00
Yui 695efa9e77 Merge pull request #2766 from Microsoft/addTestforAsContextualKeyword
Add test to make sure that we don't use "as" as keyword
2015-04-14 19:26:28 -07:00
Jason Freeman 2cadea2137 Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes 2015-04-14 17:13:06 -07:00
Jason Freeman cb9954bd20 The element/iterated type of any is any 2015-04-14 17:12:53 -07:00
Yui T a15fcf662b Add test for askeyword 2015-04-14 17:00:50 -07:00
Yui 2861fc2869 Merge pull request #2765 from Microsoft/moveAsKeywordOutFromStrict
Move asKeyword into correct section
2015-04-14 16:20:15 -07:00
Yui T 4783d9f252 Move asKeyword into correct section 2015-04-14 16:05:03 -07:00
Anders Hejlsberg 6d36dd5296 Merge pull request #2729 from Microsoft/reducedUnionTypes
Consistently reduce union types
2015-04-14 15:24:49 -07:00
Mohamed Hegazy e7895c59d4 Move commonSourceDirectory computation to its own function 2015-04-14 15:05:08 -07:00
CyrusNajmabadi d1bd164c0a Merge pull request #2641 from Microsoft/jsSigHelp
Give signature help for arbitrary functions called in .js files (even off of <dot>).
2015-04-14 15:00:35 -07:00
unknown 9a2846ef72 Addressing CR feedback 2015-04-14 14:51:08 -07:00
Cyrus Najmabadi 8e757c044e Merge branch 'master' into jsSigHelp
Conflicts:
	src/services/outliningElementsCollector.ts
	src/services/services.ts
2015-04-14 14:22:48 -07:00
unknown f33acf8ba4 Accepting new baselines 2015-04-14 14:18:57 -07:00
unknown 7393898076 Merge branch 'master' into reducedUnionTypes 2015-04-14 14:03:05 -07:00
Yui T 5ac12cfbc0 Update test filenames 2015-04-14 13:05:29 -07:00
Yui T c370f68d90 Merge branch 'conformanceContextuallyTypedFuncExp' of https://github.com/Microsoft/TypeScript into conformanceContextuallyTypedFuncExp 2015-04-14 13:00:26 -07:00
Yui T 496e23881b Change file name to be more consistent 2015-04-14 13:00:13 -07:00
Jason Freeman 8f57867601 Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes 2015-04-14 12:58:50 -07:00
Yui T 85af749239 Change file name to be more consistent 2015-04-14 12:55:54 -07:00
Mohamed Hegazy db492f1c10 Merge pull request #2747 from Microsoft/FixGetOccurances
Fix getOccurances filter check
2015-04-14 10:33:03 -07:00
Yui T a689b9df38 Conformance test for update incontextual type in function expression 2015-04-14 10:26:47 -07:00
Mohamed Hegazy fe50957240 Merge pull request #2756 from Microsoft/completionFixes
Completion fixes
2015-04-14 10:18:05 -07:00
unknown 6ff6bb192b Merge branch 'master' into reducedUnionTypes 2015-04-14 10:09:47 -07:00
unknown 56e0fb0b35 Addressing CR feedback 2015-04-14 10:01:11 -07:00
Vladimir Matveev 0feebd44b3 publish exported postfix operators as 'E("", ++x) - 1' and 'E("", --x) + 1' 2015-04-13 21:32:27 -07:00