5225 Commits

Author SHA1 Message Date
Anders Hejlsberg
00bffe1a40 Including numeric index signatures 2015-07-29 16:50:17 -07:00
Anders Hejlsberg
721f7e28d5 Don't require index signature when target index signature type is any 2015-07-29 11:19:40 -07:00
Ryan Cavanaugh
595a8d2734 Merge pull request #4064 from RyanCavanaugh/tsconfigFilesError
Error if 'files' property is not an array
2015-07-28 23:45:46 -07:00
Ryan Cavanaugh
32816122f9 Error if 'files' property is not an array 2015-07-28 17:59:17 -07:00
Yui
0a9fb1a7b5 Merge pull request #3946 from Microsoft/disambiguating
Fix resolution when block-scoped variable names collide with those of other entities
2015-07-28 16:01:48 -07:00
Jason Freeman
bbadd702e7 Merge pull request #4022 from Microsoft/defaultInitializer
Default initializers on required parameters
2015-07-28 15:27:04 -07:00
Yui T
3edecbfa47 Merge branch 'master' into disambiguating 2015-07-28 15:26:31 -07:00
Yui T
a07d911f63 Address code review 2015-07-28 15:25:27 -07:00
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
Vladimir Matveev
cb14a9ec13 merge with master 2015-07-27 17:58:20 -07:00
Vladimir Matveev
e1708e7e2f Merge branch 'master' into forwardRefsInEnumInitializers 2015-07-27 17:51:20 -07:00
Yui T
5e6078133c Merge branch 'master' into errorForUseSuperInNullExtension
Conflicts:
	src/compiler/checker.ts
2015-07-27 15:37:02 -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
Arthur Ozga
7c024aba56 cleanup 2015-07-27 13:19:14 -07:00
Arthur Ozga
a95f608f1d Merge branch 'master' into removeForLoop 2015-07-27 13:17:18 -07:00
Ryan Cavanaugh
0da9b7a850 Merge pull request #3942 from RyanCavanaugh/fix3903
Fix crash when the element instance type was undefined
2015-07-27 12:41:14 -07:00
Ryan Cavanaugh
4e3751c07c Use Debug.assert instead of Debug.fail; preserve 'any' variants 2015-07-27 12:31:53 -07:00
Daniel Rosenwasser
4f507a6b7e Merge pull request #3973 from Microsoft/disallowDefaultExportDeclMerging
Disallow merging for default export declarations
2015-07-27 15:03:40 -04:00
Daniel Rosenwasser
157235f5da Fixed test message. 2015-07-27 11:45:22 -07:00
Ryan Cavanaugh
079047c60b Simplify code a bit. 2015-07-27 11:21:27 -07:00
Daniel Rosenwasser
a8f0491d62 space -> spaces 2015-07-27 11:17:23 -07:00
Daniel Rosenwasser
bad5919fa8 Addressed CR feedback. 2015-07-27 11:14:13 -07:00
Basarat Ali Syed
1251b46eb6 SourceFile.fileWatcher should be optional 2015-07-27 17:42:49 +10:00
Yui T
7296cc7a4e Merge branch 'master' into errorForUseSuperInNullExtension 2015-07-26 20:46:51 -07:00
Yui T
442855f7e1 Address CR 2015-07-26 20:46:03 -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
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
Vladimir Matveev
e1fa3c5515 Merge pull request #3982 from Microsoft/sourceMapsInTranspile
add transpileModule function that can return emitted source map
2015-07-23 17:25:30 -07:00
Daniel Rosenwasser
3805500e84 Merge pull request #3967 from weswigham/issues/3813
Tests for the Session API
2015-07-23 13:58:07 -07:00
Daniel Rosenwasser
b47cd0e9a4 Merge pull request #3875 from Microsoft/nightly
Create a 'publish-nightly' task in our Jakefile
2015-07-23 13:41:09 -07:00
Arthur Ozga
20306551ec Merge pull request #3974 from Microsoft/addReferencesForFourslashInTestDir
Add references for fourslash in test dir
2015-07-23 13:40:41 -07:00
Jason Freeman
d3d3333da6 Merge pull request #3990 from Microsoft/getBaseTypes
Add getBaseTypes on TypeObject in services
2015-07-23 13:06:19 -07:00
Mohamed Hegazy
84a6ee1fb9 Merge pull request #3913 from ShyykoSerhiy/fix-3859
Fixed "False error when using directive prologues inside constructor with initialized properties."
2015-07-23 00:09:05 -07:00
Jason Freeman
d6998da761 Add getBaseTypes on TypeObject in services 2015-07-22 15:27:25 -07:00
Yui T
3270e71fcf Address CR 2015-07-22 14:36:06 -07:00
Jason Freeman
f42fd62968 Add comments 2015-07-22 14:03:53 -07:00
Jason Freeman
753f0f8d1c Don't add an inference candidate if it contains the anyFunctionType 2015-07-22 13:58:25 -07:00
Daniel Rosenwasser
ae68352805 Merge remote-tracking branch 'origin/master' into disallowDefaultExportDeclMerging 2015-07-22 12:01:15 -07:00
Vladimir Matveev
500cadac5c add transpileModule function that can return emitted source map 2015-07-22 11:58:27 -07:00
Ryan Cavanaugh
8fcca92e4e Merge pull request #3955 from RyanCavanaugh/fix3928
Correctly identify identifiers inside JSX exprs as expression identifiers
2015-07-22 10:27:55 -07:00
Ryan Cavanaugh
09aa13f5ce Merge remote-tracking branch 'upstream/master' into fix3903
Conflicts:
	tests/baselines/reference/tsxElementResolution9.errors.txt
2015-07-22 10:01:08 -07:00
Ryan Cavanaugh
06f766ce44 Remove check about ctors returning object types -- it isn't useful 2015-07-22 09:27:57 -07:00
Daniel Rosenwasser
18e36b898c Add suggestion to error message. 2015-07-21 17:47:15 -07:00
Vladimir Matveev
32bec3b3e7 Merge pull request #3966 from Microsoft/importAliasesInSystem
hoist top level import equals declarations in System modules
2015-07-21 17:42:43 -07:00
Daniel Rosenwasser
8d5d73eb91 Take default export spaces into account when checking merged declarations. 2015-07-21 17:22:14 -07:00