Commit graph

7566 commits

Author SHA1 Message Date
Daniel Rosenwasser
6691ebd638 Parameterize 's' to remove implicit 'any'. 2015-07-30 08:11:14 -07:00
Daniel Rosenwasser
d1f1da2c2a Don't emit when compilation fails. 2015-07-30 08:00:29 -07:00
unknown
e4a1c97b7d Address comments. 2015-07-29 18:57:48 -07:00
Vladimir Matveev
f9c07586b4 fix formatting 2015-07-29 18:14:13 -07:00
Vladimir Matveev
36043cd88a merge with master 2015-07-29 17:16:58 -07:00
Anders Hejlsberg
00bffe1a40 Including numeric index signatures 2015-07-29 16:50:17 -07:00
Vladimir Matveev
544a7939f0 return ambient external modules as a results of preprocessing 2015-07-29 16:47:34 -07:00
Vladimir Matveev
d7661ecf8a do not try to resolve modules that has '!' in the name, put .tsx extension to the end of the list 2015-07-29 16:24:16 -07:00
Ryan Cavanaugh
d4bb3539e0 Add a source map test for JSX preserve 2015-07-29 14:49:57 -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
Ryan Cavanaugh
c7a2036a75 Merge pull request #4065 from RyanCavanaugh/logBind
Bind console log method so it works in the browser
2015-07-29 13:22:50 -07:00
Ryan Cavanaugh
91d9432ac2 Use arrow functions instead of .bind 2015-07-29 11:33:01 -07:00
Anders Hejlsberg
0ab2b2a069 Accepting new baselines 2015-07-29 11:32:01 -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
Anders Hejlsberg
b3feae1b5f Merge pull request #4033 from Microsoft/updateLangSpec
Update Language Specification
2015-07-29 07:54:02 -07:00
Anders Hejlsberg
11f2216dc6 Added section on Names 2015-07-29 07:45:42 -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
6caec671ec Bind console log method so it works in the browser 2015-07-28 18:01:48 -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
Yui T
9d1f051e84 Update test baseline 2015-07-28 15:34:02 -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
cdd451586e Merge pull request #3986 from Microsoft/anyFunctionTypeDontAddCandidate
Don't add a type that contains anyFunctionType as an inference candidate
2015-07-28 14:58:16 -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
unknown
90e31adea8 Raise error if mixing tsconfig.json and directives. 2015-07-27 21:02:58 -07:00
Vladimir Matveev
d0bc070fb8 Merge pull request #3969 from Microsoft/forwardRefsInEnumInitializers
Forward refs in enum initializers
2015-07-27 18:13:59 -07:00
Vladimir Matveev
4c3d21f8f3 updated baselines 2015-07-27 18:03:07 -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
unknown
450112d28a Remove debugger; 2015-07-27 17:45:18 -07:00
unknown
53e449c901 Allow tsconfig.json to be added to fourslash test. 2015-07-27 17:45:15 -07:00
Yui
6af52ee62f Merge pull request #3897 from Microsoft/errorForUseSuperInNullExtension
Error for use super in null extension
2015-07-27 15:59:12 -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
266e5e66f6 Merge pull request #3911 from Microsoft/removeForLoop
remove for-loops
2015-07-27 13:48:09 -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