Commit Graph

7131 Commits

Author SHA1 Message Date
Daniel Rosenwasser
403a93d21f Merge pull request #6330 from weswigham/restorative-narrowing
Fix #6277
2016-01-14 16:07:59 -08:00
Vladimir Matveev
36c489c8db address PR feedback 2016-01-14 16:07:26 -08:00
Vladimir Matveev
e90db461ce merge with origin/master 2016-01-14 13:58:48 -08:00
Daniel Rosenwasser
1868caa066 Merge pull request #6469 from ShyykoSerhiy/fix-528
Fixes issue https://github.com/Microsoft/TypeScript/issues/528 (Show better error message for unresolved references due to missing prefix)
2016-01-14 13:13:07 -08:00
Daniel Rosenwasser
74293a4b1d Merge branch 'master' into refactorSignatureRelatability 2016-01-14 13:05:25 -08:00
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
Zhengbo Li
d5d7a2a2dc Merge pull request #6026 from zhengbli/i6016
Fix too many watcher instances issue
2016-01-14 11:28:44 -08:00
Vladimir Matveev
a69dcd16fa Merge remote-tracking branch 'origin/master' into moduleAugmentations 2016-01-14 11:13:48 -08:00
Daniel Rosenwasser
e8d4cf8231 Documented the 'ReportErrors' enum. 2016-01-14 11:01:21 -08:00
Vladimir Matveev
3aa92f5611 addressed PR feedback 2016-01-14 10:56:49 -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
Zhengbo Li
dbfe862dbd not casting relative filenames in 'tsc watch' to Path 2016-01-14 00:34:43 -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
shyyko.serhiy@gmail.com
21baedfeba changed messages text in checkAndReportErrorForMissingPrefix 2016-01-14 01:14:33 +02: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
Zhengbo Li
067573b0c3 cr feedback: simplify the removeFile function 2016-01-13 14:03:18 -08:00
shyyko.serhiy@gmail.com
05b1dffc88 changed name of checkForMissingPrefix to checkAndReportErrorForMissingPrefix 2016-01-14 00:01:59 +02:00
Vladimir Matveev
1e11a55781 address PR feedback 2016-01-13 13:39:12 -08:00
Zhengbo Li
02531af991 Update the watchedFileSet to use Path instead of string for file names 2016-01-13 13:18:28 -08:00
shyyko.serhiy@gmail.com
6b7b9aaa56 added check for missing prefix 2016-01-13 20:20:34 +02:00
shyyko.serhiy@gmail.com
5ba47eca86 added two new more specific messages 2016-01-13 20:18:51 +02: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
Ryan Cavanaugh
120fa190d2 Remove duplicated functions 2016-01-12 15:30:19 -08:00
Zhengbo Li
d22626f32d Fix lint issue 2016-01-12 00:17:38 -08:00
vladima
0e1c6e3c9a fix linter issues 2016-01-11 22:34:38 -08:00
vladima
7cef1efb4e merge with origin/master 2016-01-11 22:12:03 -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
Ryan Cavanaugh
4fe33732cf Tidy up unused comments / code 2016-01-11 13:35:33 -08:00
Daniel Rosenwasser
1905eac824 Don't rely on truthiness. 2016-01-11 12:22:40 -08:00
Ryan Cavanaugh
3c715dd094 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-11 11:39:20 -08:00
zhengbli
114d2bd66d Separate directory watching and file watching again to reduce logic complexity, because reference counting is a lot easier in this case 2016-01-11 11:35:46 -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
Ryan Cavanaugh
a3126fd6be Simplify JSDoc scanner loop 2016-01-08 17:49:22 -08:00