6984 Commits

Author SHA1 Message Date
Daniel Rosenwasser
e9330be338 Merge branch 'master' into refactorSignatureRelatability 2016-01-14 12:58:41 -08:00
Daniel Rosenwasser
273cfc1cd7 Back to booleans.
I totally have an infinite amount of time to work on this.
2016-01-14 11:33:05 -08:00
Daniel Rosenwasser
e8d4cf8231 Documented the 'ReportErrors' enum. 2016-01-14 11:01:21 -08:00
Daniel Rosenwasser
17ff54d09b Just check if the original type is a primitive instead of checking the apparent type. 2016-01-14 10:54:08 -08:00
Daniel Rosenwasser
6e0fde37f8 Added missing semicolon. 2016-01-13 23:19:49 -08:00
Daniel Rosenwasser
51787e3daa Don't report structural errors on primitive apparent types. 2016-01-13 23:12:41 -08:00
Daniel Rosenwasser
c87bb376b5 Propagate forced re-elaboration through relation functions. 2016-01-13 23:11:49 -08:00
Yui
9df1ed4dd3 Merge pull request #6227 from Microsoft/fix4581_inheritedPropertiesCrash
Fix crash in language service when using on inherited properties of self-extend
2016-01-13 19:39:40 -08:00
Yui T
d4a04a11d2 Address PR 2016-01-13 16:48:48 -08:00
Mohamed Hegazy
31d85155b9 Merge branch 'master' into fixFindReferencesOnExports 2016-01-13 15:35:03 -08:00
Yui T
3391abf51a Address PR 2016-01-13 15:10:29 -08:00
pcbro
2294ef8891 Update utilities.ts 2016-01-13 23:43:41 +01:00
Nathan Shively-Sanders
911d07a81b Merge pull request #5992 from Microsoft/allow-type-predicates-as-return-types-only
Allow type predicates as return types only
2016-01-13 09:55:40 -08:00
Nathan Shively-Sanders
a9f2cb6d6e Make parseTypeOrTypePredicate terser. 2016-01-13 09:31:06 -08:00
Ryan Cavanaugh
5f024a3c9f Merge pull request #6358 from RyanCavanaugh/fix6349
Change logic in identifying JSX React SFCs
2016-01-12 15:40:52 -08:00
Vladimir Matveev
dd58228861 add no-default-lib tag to core libraries 2016-01-11 21:34:52 -08:00
Daniel Rosenwasser
5f8f518864 Merge branch 'master' into refactorSignatureRelatability 2016-01-11 17:39:49 -08:00
Vladimir Matveev
33bfd92f48 Merge pull request #6444 from Microsoft/errorOnReexportingGlobals
report errors when re-exporting globals
2016-01-11 15:47:17 -08:00
Vladimir Matveev
b811b9f94b report errors when re-exporting globals 2016-01-11 14:48:57 -08:00
Mohamed Hegazy
869b81162f Merge pull request #6019 from Microsoft/sourceMapDestructuring
Fixes for source map of destructuring downlevel syntax
2016-01-11 14:36:28 -08:00
Daniel Rosenwasser
1905eac824 Don't rely on truthiness. 2016-01-11 12:22:40 -08:00
Vladimir Matveev
d267d645d2 Merge pull request #6411 from Microsoft/classifyJsx2
add support for classifying jsx text and string literals in jsx attributes
2016-01-11 10:54:35 -08:00
Nathan Shively-Sanders
1c553dfd79 Reverse order of Promise.all overloads.
The highest arity overloads should come first -- Typescript chooses the
first overload that matches, which currently means that the *shortest*
tuple type gets chosen, not the longest matching one.
2016-01-11 09:34:49 -08:00
Yui T
81f760c406 Merge branch 'master' into fix5953_crashJSX 2016-01-10 05:46:54 -08:00
Vladimir Matveev
c1b031aa73 fix linter issues 2016-01-08 22:43:21 -08:00
Vladimir Matveev
5c0d1a8afa added jsx classification support to fourslash and tests 2016-01-08 22:30:26 -08:00
Vladimir Matveev
946cf63a38 classify jsx text and jsx attribute values 2016-01-08 17:18:02 -08:00
Vladimir Matveev
5313928112 Merge pull request #6406 from Microsoft/classifyJsxAttributes
Recognize JSX attribute during classification
2016-01-08 16:05:12 -08:00
Vladimir Matveev
c5131e6730 recognize Jsx attribute in syntactic classifier 2016-01-08 14:44:07 -08:00
Anders Hejlsberg
0bfc83bbbc Merge pull request #6379 from Microsoft/forInChecking
Improved checking of for-in statements
2016-01-08 13:45:26 -08:00
Daniel Rosenwasser
7fd2a2b860 Merge branch 'master' into refactorSignatureRelatability 2016-01-08 12:25:39 -05:00
Daniel Rosenwasser
36b39379d8 Merge pull request #6391 from Microsoft/lintShims
Lint 'shims.ts' and bump the tools version to 1.8
2016-01-08 12:06:38 -05:00
Kanchalai Tanglertsampan
68f6d0c1ad Address PR feedback 2016-01-08 03:34:57 -08:00
Kagami Sascha Rosylight
5dde2b964f do not add space between comma and close bracket 2016-01-08 17:56:37 +09:00
Daniel Rosenwasser
19efab7a0b Bump version to '1.8'. 2016-01-07 23:14:17 -05:00
Daniel Rosenwasser
1bdf7edee2 Enable linting on 'shims.ts'. 2016-01-07 23:13:41 -05:00
Mohamed Hegazy
a444be84c4 Merge pull request #5983 from SaschaNaz/formatWhitespaces
Trim empty line whitespaces
2016-01-07 16:43:21 -08:00
Mohamed Hegazy
26d0fd0bdb Merge branch 'rwyborn-react-factory-option' 2016-01-07 15:01:31 -08:00
Mohamed Hegazy
ec70105c9d Add check for reactNamespace value 2016-01-07 15:00:50 -08:00
Mohamed Hegazy
9b92697a61 Add new helper to check for valid identifiers 2016-01-07 14:56:05 -08:00
Mohamed Hegazy
cc1947b94f Rename jsxNamespace to reactNamespace 2016-01-07 13:59:25 -08:00
Mohamed Hegazy
c0b28a3a40 Merge branch 'react-factory-option' of https://github.com/rwyborn/TypeScript into rwyborn-react-factory-option
Conflicts:
	src/compiler/checker.ts
2016-01-07 13:50:03 -08:00
Mohamed Hegazy
54aedf035d Merge pull request #6202 from SaschaNaz/formatTemplateOptional
Optionally insert spaces between template string braces
2016-01-07 13:45:29 -08:00
Mohamed Hegazy
cefb741d9d Merge branch 'master' into fixFindReferencesOnExports 2016-01-07 13:31:22 -08:00
Mohamed Hegazy
cdc33f51d2 Code review comments 2016-01-07 13:30:54 -08:00
Anders Hejlsberg
3344a42686 Check for numeric index signature instead of array-like type
Better error message when object with numeric index signature is indexed with a string
2016-01-07 10:34:22 -08:00
Kagami Sascha Rosylight
4ef8e0bb73 remove unneeded comment 2016-01-08 02:25:29 +09:00
Kagami Sascha Rosylight
5cafd962e9 thinner arrows 2016-01-08 02:24:32 +09:00
Kagami Sascha Rosylight
5144603b3b const everywhere 2016-01-08 02:16:14 +09:00
Kagami Sascha Rosylight
f0a4d6fd0b enclose entryName 2016-01-08 02:00:20 +09:00