Jason Freeman
|
ef80ff2229
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into anyFunctionTypeDontAddCandidate
Conflicts:
src/compiler/types.ts
|
2015-07-28 14:52:10 -07:00 |
|
Jason Freeman
|
71a7c19cea
|
Fix naming and update comment
|
2015-07-28 14:49:28 -07:00 |
|
Jason Freeman
|
3e5711fa01
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into defaultInitializer
|
2015-07-28 14:42:21 -07:00 |
|
Jason Freeman
|
4673d618a7
|
Make declaration emitter call resolver.isOptionalParameter
|
2015-07-28 14:42:08 -07:00 |
|
Jason Freeman
|
40d6c7f740
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into defaultInitializer
|
2015-07-27 15:34:29 -07:00 |
|
Jason Freeman
|
06f63b2e04
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into anyFunctionTypeDontAddCandidate
|
2015-07-27 15:33:11 -07:00 |
|
Jason Freeman
|
d510ba1b71
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into anyFunctionTypeDontAddCandidate
|
2015-07-24 15:23:22 -07:00 |
|
Jason Freeman
|
628d63cf75
|
Add tests
|
2015-07-24 14:59:59 -07:00 |
|
Jason Freeman
|
f44bcbda3c
|
Accept baselines and fix test comments
|
2015-07-24 14:59:55 -07:00 |
|
Jason Freeman
|
a47e02aeac
|
Adjust notion of minArgumentCount to account for required parameters with default initializers
|
2015-07-24 14:59:52 -07:00 |
|
Jason Freeman
|
aac34519d4
|
Remove error for parameter with default initializer before a required parameter
|
2015-07-24 14:59:48 -07:00 |
|
Jason Freeman
|
d6998da761
|
Add getBaseTypes on TypeObject in services
|
2015-07-22 15:27:25 -07:00 |
|
Jason Freeman
|
f42fd62968
|
Add comments
|
2015-07-22 14:03:53 -07:00 |
|
Jason Freeman
|
8529de64d7
|
Add tests
|
2015-07-22 13:58:43 -07:00 |
|
Jason Freeman
|
ab51ccc7f3
|
Accept baseline
|
2015-07-22 13:58:36 -07:00 |
|
Jason Freeman
|
753f0f8d1c
|
Don't add an inference candidate if it contains the anyFunctionType
|
2015-07-22 13:58:25 -07:00 |
|
Jason Freeman
|
fffe6c5fb5
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into remove_resolveLocation
|
2015-07-20 13:40:17 -07:00 |
|
Jason Freeman
|
05bc4fecb1
|
Address PR feedback
|
2015-07-20 13:40:03 -07:00 |
|
Jason Freeman
|
e2303b1ae8
|
Clean up the language service aliases to check functions
|
2015-07-17 17:22:58 -07:00 |
|
Jason Freeman
|
3b78377cf0
|
Clean up pushTypeResolution
|
2015-07-17 17:22:54 -07:00 |
|
Jason Freeman
|
c0b3835b19
|
Instantiate signatures if there is an overload resolution error but type arguments present
|
2015-07-17 17:22:51 -07:00 |
|
Jason Freeman
|
48588b622e
|
Only consider a type resolution sequence a cycle if none of the items in the sequence have types
|
2015-07-17 17:22:47 -07:00 |
|
Jason Freeman
|
fbe4246d39
|
Remove resolveLocation
|
2015-07-17 17:22:44 -07:00 |
|
Jason Freeman
|
6df0f3d4aa
|
Fix comment
|
2015-07-17 14:52:24 -07:00 |
|
Jason Freeman
|
cf6cfed160
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters
|
2015-07-17 14:16:48 -07:00 |
|
Jason Freeman
|
27c339aa90
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into tupleTypesAny
|
2015-07-17 14:16:28 -07:00 |
|
Jason Freeman
|
a74d64baa6
|
Add tests
|
2015-07-16 19:03:54 -07:00 |
|
Jason Freeman
|
4ab9c02136
|
Accept baselines
|
2015-07-16 19:03:50 -07:00 |
|
Jason Freeman
|
ad67cd3199
|
Don't fall back to any when typing tuples
|
2015-07-16 19:03:45 -07:00 |
|
Jason Freeman
|
c17934ed3d
|
Update LKG
|
2015-07-15 16:21:31 -07:00 |
|
Jason Freeman
|
7b5550725a
|
Merge branch 'release-1.5'
|
2015-07-15 16:08:11 -07:00 |
|
Jason Freeman
|
c3879bc0d4
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters
|
2015-07-15 15:22:15 -07:00 |
|
Jason Freeman
|
8e5f34fb4b
|
Add downlevel emit tests
|
2015-07-15 15:04:24 -07:00 |
|
Jason Freeman
|
75f97f302a
|
Add tests
|
2015-07-15 14:42:17 -07:00 |
|
Jason Freeman
|
95cd3c3d0f
|
Allow super element access
|
2015-07-15 14:42:13 -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
|
6fc08ea3e6
|
Clean up and address CR feedback
|
2015-07-14 13:44:40 -07:00 |
|
Jason Freeman
|
6f94314774
|
Accept baselines
|
2015-07-14 11:50:35 -07:00 |
|
Jason Freeman
|
6954cd2fd7
|
Add new tests
|
2015-07-14 11:50:31 -07:00 |
|
Jason Freeman
|
dfa108f4ec
|
Allow tuples to be widened
|
2015-07-14 11:50:27 -07:00 |
|
Jason Freeman
|
c7c774db41
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixingTypeParameters
|
2015-07-13 13:38:22 -07:00 |
|
Jason Freeman
|
51c7164887
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeArgumentInferenceApparentType
|
2015-07-13 13:37:44 -07:00 |
|
Jason Freeman
|
72ef479ddd
|
Add tests
|
2015-07-10 18:17:30 -07:00 |
|
Jason Freeman
|
59be264be5
|
Take the apparent type of the source in type argument inference
|
2015-07-10 18:17:26 -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 |
|
Jason Freeman
|
dcbb2e5f0f
|
Add a comment for isInferentialContext
|
2015-07-10 11:37:34 -07:00 |
|
Jason Freeman
|
8bb956eb91
|
More tests
|
2015-07-09 14:41:08 -07:00 |
|
Jason Freeman
|
f56298a0cd
|
Add a test
|
2015-07-09 11:31:24 -07:00 |
|
Jason Freeman
|
f37fc1d42e
|
Infer types to statics in a class expression
|
2015-07-09 11:31:08 -07:00 |
|
Jason Freeman
|
a660d7bbea
|
Add hopefully helpful comments
|
2015-07-08 17:15:05 -07:00 |
|
Jason Freeman
|
d25bceaf87
|
Don't bother doing inference from the function parameter if you are about to fix the type parameter
|
2015-07-08 16:58:03 -07:00 |
|
Jason Freeman
|
263c54edd4
|
Add tests for type parameter fixing
|
2015-07-08 16:17:03 -07:00 |
|
Jason Freeman
|
f5ca456325
|
Accept baselines
|
2015-07-08 14:50:39 -07:00 |
|
Jason Freeman
|
544b1772c3
|
Fix type parameters every time a parameter is assigned a contextual type
|
2015-07-08 14:50:36 -07:00 |
|
Jason Freeman
|
35db9f68f4
|
Add tests
|
2015-07-02 16:13:47 -07:00 |
|
Jason Freeman
|
0fcc63e33e
|
Disallow modifiers on rest parameters
|
2015-07-02 16:13:38 -07:00 |
|
Jason Freeman
|
652995181e
|
Add tests for inferential typing
|
2015-07-02 15:21:43 -07:00 |
|
Jason Freeman
|
98de6117f1
|
Accept baselines
|
2015-07-02 15:21:09 -07:00 |
|
Jason Freeman
|
1085e39b9a
|
Always take the apparent type when you retrieve a contextual type
|
2015-07-02 15:20:57 -07:00 |
|
Jason Freeman
|
f2044a9011
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript
|
2015-06-18 16:03:41 -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 |
|
Jason Freeman
|
41e39735e8
|
Make resolveName ignore export specifiers without calling getSymbol
|
2015-06-16 17:06:00 -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 |
|
Jason Freeman
|
aeda84704c
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into deeplyNestedTypeArgumentInference
|
2015-06-12 13:58:09 -07:00 |
|
Jason Freeman
|
80f523c13a
|
Change depth limit from 10 to 5 in isDeeplyNestedGeneric
|
2015-06-12 13:57:55 -07:00 |
|
Jason Freeman
|
9f26803242
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into deeplyNestedTypeArgumentInference
|
2015-06-11 11:55:59 -07:00 |
|
Jason Freeman
|
380918c497
|
Add comments
|
2015-06-10 17:20:51 -07:00 |
|
Jason Freeman
|
d03fca2326
|
Merge branch 'master' of https://github.com/Microsoft/TypeScript into parsingModuleElements
|
2015-06-10 16:54:37 -07:00 |
|
Jason Freeman
|
2cb8493682
|
Change checkGrammarModuleElementContext to return true if it gives an error
|
2015-06-10 16:54:27 -07:00 |
|
Jason Freeman
|
635a773186
|
Unite ParsingContext.ModuleElements and ParsingContext.BlockStatements
|
2015-06-10 16:41:48 -07:00 |
|
Jason Freeman
|
32d57d900b
|
Remove the ModuleElement type in favor of Statement
|
2015-06-10 11:26:51 -07:00 |
|
Jason Freeman
|
01f2cce8cf
|
Add fourslash test for in scope completion
|
2015-06-10 10:58:57 -07:00 |
|
Jason Freeman
|
587088bc46
|
Update affected baselines
|
2015-06-10 10:34:44 -07:00 |
|
Jason Freeman
|
10fccc578e
|
Improve error recovery after a dot
|
2015-06-09 18:09:14 -07:00 |
|
Jason Freeman
|
d8151fbd91
|
Give a name when binding an errant export declaration
|
2015-06-09 17:52:41 -07:00 |
|
Jason Freeman
|
cc9bf13ffd
|
Some cleanup and renaming
|
2015-06-09 17:12:12 -07:00 |
|
Jason Freeman
|
e4df03adcb
|
Add test cases
|
2015-06-09 16:59:17 -07:00 |
|
Jason Freeman
|
0f1ed04db4
|
Accept baselines
|
2015-06-09 16:59:09 -07:00 |
|
Jason Freeman
|
05e7f11e88
|
Disallow module elements in a non-module context
|
2015-06-09 16:58:46 -07:00 |
|
Jason Freeman
|
4fcbbc8cce
|
Fix downstream crashes resulting from allowing module elements in a statement context
|
2015-06-09 16:57:46 -07:00 |
|
Jason Freeman
|
d01a9667fc
|
Convert StatementFlags to a boolean
|
2015-06-09 16:57:42 -07:00 |
|
Jason Freeman
|
f2e04f2c8d
|
Fix white space
|
2015-06-09 14:25:43 -07:00 |
|
Jason Freeman
|
2a29839805
|
Retype the text instead of removing the bad character
|
2015-06-09 13:52:13 -07:00 |
|
Jason Freeman
|
28abe4d640
|
Remove bad character in checker
|
2015-06-09 13:41:50 -07:00 |
|
Jason Freeman
|
04b4bc26b2
|
Add test
|
2015-06-09 12:32:49 -07:00 |
|
Jason Freeman
|
8eb1ecb44f
|
Unravel some conditions
|
2015-06-09 12:25:26 -07:00 |
|
Jason Freeman
|
9c4d30952b
|
Move inferFromTypes to use isDeeplyNestedGeneric
|
2015-06-09 11:45:26 -07:00 |
|
Jason Freeman
|
75ed565f81
|
Don't consume 'is' keyword if there is a preceding line terminator
|
2015-06-09 11:12:00 -07:00 |
|
Jason Freeman
|
76076794c5
|
Update LKG after merging release-1.5
|
2015-06-03 18:01:54 -07:00 |
|
Jason Freeman
|
abf18c5a11
|
Merge branch 'release-1.5'
|
2015-06-03 17:56:53 -07:00 |
|
Jason Freeman
|
e940fdc534
|
Don't use innerExpression in parenthesizeForAccess
|
2015-06-03 17:34:56 -07:00 |
|
Jason Freeman
|
26cf97430e
|
Accept baselines for parenthesized type assertions
|
2015-06-03 17:22:51 -07:00 |
|
Jason Freeman
|
7a74d9f8d0
|
Add tests for parenthesized type assertions
|
2015-06-03 17:22:38 -07:00 |
|
Jason Freeman
|
4ccf088734
|
Don't try to strip parentheses when emitting synthesized parenthesized expressions
|
2015-06-03 17:22:11 -07:00 |
|
Jason Freeman
|
1bb46e3f33
|
Update LKG after commit 34a5514fef
|
2015-06-03 13:39:25 -07:00 |
|
Jason Freeman
|
34a5514fef
|
Rename new test
|
2015-06-03 13:36:52 -07:00 |
|
Jason Freeman
|
9394c5ca04
|
Add test for object literal methods
|
2015-06-03 13:36:51 -07:00 |
|
Jason Freeman
|
22cc3a7d84
|
Add hopefully helpful comment
|
2015-06-03 13:36:50 -07:00 |
|
Jason Freeman
|
46da6678ad
|
Return expressions always need to be type checked
|
2015-06-03 13:36:49 -07:00 |
|
Jason Freeman
|
f390133a12
|
Rename new test
|
2015-06-02 18:21:39 -07:00 |
|