6150 Commits

Author SHA1 Message Date
Daniel Rosenwasser
a634e6770a Added tests. 2015-04-16 15:26:59 -07:00
Daniel Rosenwasser
c1c608eb1d Added tests. 2015-04-16 15:23:11 -07:00
Mohamed Hegazy
55af7b36c7 Fix #2801: Sort module names for AMD preamble 2015-04-16 14:56:22 -07:00
Mohamed Hegazy
39d9720dd1 wire module lookcups for default import in ambient module declarations 2015-04-16 14:54:47 -07:00
Yui T
3a15b3f7f4 Move error test cases into separate files 2015-04-16 14:53:19 -07:00
unknown
b94679c723 Merge branch 'master' into unionPropertyAccess 2015-04-16 14:42:44 -07:00
unknown
0e0cac8ce0 Adding test 2015-04-16 14:41:33 -07:00
Yui T
845b618b42 Add spec description to the test file and move tests that generate errors to separate file 2015-04-16 14:41:19 -07:00
Daniel Rosenwasser
feba8fbbde Alignment. 2015-04-16 14:39:34 -07:00
unknown
bda1f59d7b Include property in union type only if all underlying properties are public 2015-04-16 14:39:02 -07:00
Yui T
0443bfb45e Merge branch 'master' into conformanceParameterDecl 2015-04-16 14:35:11 -07:00
Yui T
55f9aba855 Move tests with errors to separate file 2015-04-16 14:32:23 -07:00
Daniel Rosenwasser
8d4d7df71a Merge pull request #2802 from Microsoft/allowArrowArgumentsES6
Only error in ES3 and ES5 when using 'arguments' in an arrow function
2015-04-16 13:54:17 -07:00
Yui T
614469462a Update tests files with more conformance from section 6.4 2015-04-16 13:35:56 -07:00
Daniel Rosenwasser
ce00997693 Added symbols files. 2015-04-16 13:29:20 -07:00
Daniel Rosenwasser
13c3129665 Only error in <ES6. 2015-04-16 13:08:57 -07:00
Daniel Rosenwasser
42c66a1597 Add/rename baselines. 2015-04-16 12:42:25 -07:00
Daniel Rosenwasser
fc7be363f1 Added tests from 'captureArguments' branch. 2015-04-16 12:29:49 -07:00
Zhengbo Li
7770fbbba4 Removed properties of es6 only types from extensions.d.ts 2015-04-16 12:04:19 -07:00
Ron Buckton
3b74503898 Merge pull request #2750 from Microsoft/fixES6Clodule
Elide var when emitting a module merged with an ES6 class
2015-04-16 11:53:24 -07:00
Zhengbo Li
2aa5a5b831 Updated the interface definitions in extensions
Replaced the interfaces using the ones in es.d.ts
2015-04-16 10:50:56 -07:00
Yui T
2499b3ebd5 Organize test files and add spec description in the comment 2015-04-16 10:21:49 -07:00
Mohamed Hegazy
fb44a23b75 Merge pull request #2741 from zspitz/MSActiveXExtensions
Declarations+jsDoc for Enumerator, VBArray
2015-04-16 10:07:46 -07:00
Yui T
48b9a51370 Add conformance test for ambient enum declaration 2015-04-15 23:25:32 -07:00
CyrusNajmabadi
a93971a40a Merge pull request #2787 from Microsoft/APISamplesBaselines
Don't run typewriter tests on the APISamples.  It's too noisy.
2015-04-15 18:18:12 -07:00
Jason Freeman
0321275eba Merge pull request #2754 from Microsoft/destructuringFixes
Destructuring fixes
2015-04-15 18:17:39 -07:00
Jason Freeman
2c45e7252c Update baseline after merge again 2015-04-15 18:17:16 -07:00
Jason Freeman
0dd660960d Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes
Conflicts:
	tests/baselines/reference/iterableArrayPattern14.types
	tests/baselines/reference/iterableArrayPattern15.types
	tests/baselines/reference/iterableArrayPattern20.types
	tests/baselines/reference/iterableArrayPattern27.types
2015-04-15 18:12:49 -07:00
Yui T
ae4297930f Add conformance tests for const enum 2015-04-15 18:12:39 -07:00
Cyrus Najmabadi
9ab6be3314 Don't run typewriter tests on the APISamples. It's too noisy. 2015-04-15 17:41:32 -07:00
CyrusNajmabadi
4dfc518915 Merge pull request #2783 from Microsoft/symbolWriter2
Split symbol baselines from type baselines.
2015-04-15 17:34:01 -07:00
Jason Freeman
ce0dfc11b2 Update baseline after merge 2015-04-15 17:32:45 -07:00
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