Commit Graph

4770 Commits

Author SHA1 Message Date
Vladimir Matveev
c6b0cf1a03 Merge pull request #6213 from Microsoft/moduleAugmentations
initial revision of external module augmentations
2016-01-15 21:28:13 -08:00
Zhengbo Li
a24900e88a Merge pull request #6509 from zhengbli/fixPathForWatcher
Fix the getCanonicalFileName in sys.ts and also check null value in f…
2016-01-15 17:32:46 -08:00
zhengbli
c244306514 address CR feedback: use typeof check instead of checking undefined and null value 2016-01-15 16:55:25 -08:00
zhengbli
c2f453b8fb Fix the getCanonicalFileName in sys.ts and also check null value in file watcher call back 2016-01-15 14:58:04 -08:00
Mohamed Hegazy
319faabe8b Merge branch 'master' into addUndefinedCheckToCollectLinkedAliases 2016-01-15 14:40:04 -08:00
Vladimir Matveev
0a0c3e0cbd do not crash if initializer in For-statement is missing 2016-01-14 23:20:21 -08:00
Mohamed Hegazy
2eb73a0d27 Fix for https://github.com/Microsoft/TypeScript/issues/6428 2016-01-14 17:36:08 -08:00
Daniel Rosenwasser
e980f46cbe Look up static members from instance methods. 2016-01-14 17:05:09 -08:00
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
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
Vladimir Matveev
3aa92f5611 addressed PR feedback 2016-01-14 10:56:49 -08:00
Zhengbo Li
dbfe862dbd not casting relative filenames in 'tsc watch' to Path 2016-01-14 00:34:43 -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
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
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
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
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
Yui T
81f760c406 Merge branch 'master' into fix5953_crashJSX 2016-01-10 05:46:54 -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
Zhengbo Li
697644c583 spell our dir to directory 2016-01-07 22:48:17 -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
cefb741d9d Merge branch 'master' into fixFindReferencesOnExports 2016-01-07 13:31:22 -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
Anders Hejlsberg
537fb4a7c5 Merge branch 'master' into forInChecking 2016-01-06 17:42:14 -08:00
Anders Hejlsberg
120569afb0 Support for-in both with and without variable declaration 2016-01-06 16:12:49 -08:00
Ryan Cavanaugh
cf8daffea1 Properly cache JSX element types for SFC expressions 2016-01-06 13:21:03 -08:00
Vladimir Matveev
36af815bba add optional 'directoryExists' method to hosts to reduce amount of disk probings that are known to fail 2016-01-06 12:37:52 -08:00
Nathan Shively-Sanders
9b13a0c5b9 Better name for checkTypePredicate helper function
checkBindingPatternForTypeVariable ->
checkIfTypeVariableIsDeclaredInBindingPattern
2016-01-06 10:58:57 -08:00
Anders Hejlsberg
a05b1de7ee Change for-in iteration variable type from any to string 2016-01-06 10:52:05 -08:00