Commit Graph

3482 Commits

Author SHA1 Message Date
Mohamed Hegazy
d855f47f01 Merge pull request #4120 from basarat/feat/shebang
Shebang
2015-08-04 10:00:38 -07:00
Basarat Syed
e0a7627f12 CR feedback 2015-08-04 09:30:18 +10:00
Vladimir Matveev
24c8a8ee5f always set NodeCheckFlags when checking super expression 2015-08-02 08:51:50 -07:00
basarat
5fcf3d7c90 emit shebang 2015-08-02 12:24:18 +10:00
basarat
6ea64637e1 scanner for trivia + accept baselines 2015-08-01 18:52:15 +10:00
Mohamed Hegazy
a4a1a51db6 Merge pull request #4111 from Microsoft/systemModuleWithEmitHelpers
Fix the emit helper emit inside the system modules
2015-07-31 17:19:28 -07:00
Sheetal Nandi
bfc4dd14da Emit the helpers inside the module body
Fixes #3655
2015-07-31 11:55:08 -07:00
Daniel Rosenwasser
8b8a138bd0 Use one call to 'reportDiagnostics'. 2015-07-31 10:47:36 -07:00
Daniel Rosenwasser
074a33d120 Double quotes. 2015-07-31 10:41:13 -07:00
Daniel Rosenwasser
e74f0f0f59 Fix issue with exit status by ensuring the same 'diagnostics' variable is reused. 2015-07-31 10:40:07 -07:00
Ryan Cavanaugh
7e9e920d1e Merge pull request #4079 from RyanCavanaugh/fixJsxSourceMaps
Correctly emit source maps when emitting JSX text under --jsx preserve
2015-07-30 22:11:14 -07:00
Daniel Rosenwasser
7c90d6251c Style and rename test. 2015-07-30 11:22:58 -07:00
Mohamed Hegazy
4b55d38645 Merge pull request #3935 from pcan/issue_3932
Added null-check in 'emitSerializedTypeNode'
2015-07-30 10:44:23 -07:00
Anders Hejlsberg
89e71756ef Merge pull request #4074 from Microsoft/relaxIndexSignatures
Relax index signature checks for type any
2015-07-30 10:09:03 -07:00
Anders Hejlsberg
00bffe1a40 Including numeric index signatures 2015-07-29 16:50:17 -07:00
Ryan Cavanaugh
da35fef88e Correctly emit source maps when emitting JSX text under --jsx preserve 2015-07-29 14:27:41 -07:00
Ryan Cavanaugh
97e7b073f3 Merge pull request #4061 from RyanCavanaugh/fix4060
Correctly identify JSX expressions as identifier parents
2015-07-29 14:25:04 -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
Ryan Cavanaugh
9f7e71d9e8 Merge remote-tracking branch 'upstream/master' into fix4060
Conflicts:
	src/compiler/emitter.ts
2015-07-28 15:32:53 -07:00
Ryan Cavanaugh
da39a8be10 Don't forget about spread attributes 2015-07-28 15:31:39 -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
Ryan Cavanaugh
fc9b10eeb6 Correctly identify JSX expressions as identifier parents 2015-07-28 13:49:39 -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
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
pcan
bcf89e89e6 Invert null-check in emitSerializedTypeNode 2015-07-25 09:13:31 +02: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