Commit graph

651 commits

Author SHA1 Message Date
Yui T
4167343630 Add tests and baselines 2015-07-20 23:30:43 -07:00
kimamula
9c9e39e7a3 Add includes method to String interface, and remove contains 2015-07-18 18:50:41 +09:00
Jason Freeman
c3879bc0d4 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters 2015-07-15 15:22:15 -07:00
Daniel Rosenwasser
d17f13a5eb Merge pull request #3818 from Microsoft/exportSpecifierCompletions
Support completions in exports with module specifiers.
2015-07-15 14:23:20 -07:00
Jason Freeman
e0f9825978 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters 2015-07-14 15:07:59 -07:00
Jason Freeman
72ef479ddd Add tests 2015-07-10 18:17:30 -07:00
Daniel Rosenwasser
e5b8f87927 Merge branch 'master' into exportSpecifierCompletions
Conflicts:
	src/services/services.ts
2015-07-10 17:30:20 -07:00
Daniel Rosenwasser
7a0b224ba5 Added tests. 2015-07-10 16:20:12 -07:00
Jason Freeman
d57e8d17c0 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters
Conflicts:
	src/compiler/checker.ts
2015-07-10 15:26:51 -07:00
Tingan Ho
28976a0e34 Adds type predicate signature display and addresses CR feedback 2015-07-09 12:10:39 +08:00
Tingan Ho
951084fc85 Fixes emit of type predicated in delcaration files 2015-07-09 12:08:14 +08:00
Jason Freeman
263c54edd4 Add tests for type parameter fixing 2015-07-08 16:17:03 -07:00
Jason Freeman
f126767eb3 Merge pull request #3724 from Microsoft/apparentTypeOfContextualType
Always get the apparent type when retrieving a contextual type
2015-07-06 10:18:21 -07:00
Jason Freeman
35db9f68f4 Add tests 2015-07-02 16:13:47 -07:00
Jason Freeman
652995181e Add tests for inferential typing 2015-07-02 15:21:43 -07:00
Arthur Ozga
4878cce73f merged with master 2015-07-02 10:10:17 -07:00
Arthur Ozga
1608845f33 merged with master 2015-07-01 13:51:27 -07:00
Mohamed Hegazy
f9de30c728 Fix assert with declaration emit for export specifier for a global 2015-06-25 17:38:11 -07:00
Arthur Ozga
a7ec1c4874 merged master 2015-06-25 13:25:44 -07:00
Daniel Rosenwasser
ec2d5f3a0d Renamed test. 2015-06-25 13:38:42 -04:00
Daniel Rosenwasser
c04bc692d4 Fixed coment. 2015-06-25 13:21:58 -04:00
Mohamed Hegazy
464f65533e Merge branch 'minor-3' of https://github.com/jbondc/TypeScript into jbondc-minor-3 2015-06-24 12:59:06 -07:00
jbondc
da1bc6bac8 Don't report an error for 1.toString(), just emit a space for JS compat. 2015-06-24 10:56:23 -04:00
Ron Buckton
071ef34e49 Merged branch 'master' into resolveDecoratorAsCall 2015-06-23 15:26:34 -07:00
Arthur Ozga
1068890fcd Moved tests to classAbstractKeyword folder 2015-06-23 10:33:41 -07:00
jbondc
138970f35f Fixes #2632 (invoking methods on numbers) 2015-06-22 10:04:08 -04:00
Arthur Ozga
b7f4ee5478 Merge branch 'master' into abstract-classes2 2015-06-19 15:46:26 -07:00
Jason Freeman
111fdcb499 Merge branch 'release-1.5'
Conflicts:
	src/compiler/emitter.ts
	src/compiler/parser.ts
	src/compiler/program.ts
	src/services/services.ts
	tests/cases/unittests/transpile.ts
2015-06-18 15:06:03 -07:00
Mohamed Hegazy
54ed3c475e Add a unit test 2015-06-17 21:20:20 -07:00
Arthur Ozga
19b0c519fc merged master 2015-06-17 15:07:49 -07:00
Jason Freeman
ab61bf2a6d Merge pull request #3532 from Microsoft/exportSpecifierScoping
Make resolveName ignore export specifiers without calling getSymbol
2015-06-17 15:05:34 -07:00
Jason Freeman
41e39735e8 Make resolveName ignore export specifiers without calling getSymbol 2015-06-16 17:06:00 -07:00
Arthur Ozga
506349f9c5 Fix merge conflicts with master 2015-06-15 16:48:09 -07:00
Jason Freeman
54edbaeea7 Parse class member with a missing identifier in the presence of a modifier 2015-06-15 16:28:29 -07:00
Anders Hejlsberg
c20f6820b7 Adding SyntaxKind.BindingElement case 2015-06-15 06:48:48 -07:00
Mohamed Hegazy
60e855e252 Merge pull request #3492 from Microsoft/useTypePredicatesInLib
Define Array.isArray using a type predicate
2015-06-12 17:39:31 -07:00
Jason Freeman
72783bcae3 Merge pull request #3452 from Microsoft/deeplyNestedTypeArgumentInference
Type argument inference fix for infinitely recursive anonymous types
2015-06-12 14:11:14 -07:00
Daniel Rosenwasser
b920291643 Merge pull request #3473 from randombk/bug-genericConstraintCrash
Fix crash with unmet generic constraints
2015-06-12 14:08:31 -07:00
Mohamed Hegazy
1a520386bb Define Array.isArray using a type predicate 2015-06-12 09:32:15 -07:00
Vladimir Matveev
1f587069da Merge pull request #3434 from Microsoft/port-3433
Port PR 3433 into release 1.5
2015-06-11 14:24:29 -07:00
Jason Freeman
9f26803242 Merge branch 'master' of https://github.com/Microsoft/TypeScript into deeplyNestedTypeArgumentInference 2015-06-11 11:55:59 -07:00
David Li
49be653a25 Added test case for invalid generic type constraints
Signed-off-by: David Li <jiawei.davidli@gmail.com>
2015-06-10 20:22:59 -04:00
Vladimir Matveev
d0763060c9 added more tests 2015-06-10 12:32:24 -07:00
Jason Freeman
10fccc578e Improve error recovery after a dot 2015-06-09 18:09:14 -07:00
Jason Freeman
e4df03adcb Add test cases 2015-06-09 16:59:17 -07:00
Arthur Ozga
3bc2aa91c6 fix merge conflicts with master 2015-06-09 12:53:40 -07:00
Jason Freeman
04b4bc26b2 Add test 2015-06-09 12:32:49 -07:00
Daniel Rosenwasser
6b77c24753 Merge pull request #3365 from Microsoft/painInTheASI
Parse namespaces/types aliases/interfaces/ambient declarations only when they cannot be legal JS
2015-06-08 10:27:15 -07:00
Vladimir Matveev
7c8a50336d emit module name for system modules, add moduleName argument to 'transpile' function
Conflicts:
	src/services/services.ts
2015-06-04 22:37:52 -07:00
Daniel Rosenwasser
aef9edf014 Added test regarding 'declare' keyword as beginning of statement expression. 2015-06-04 17:43:28 -07:00