Commit Graph

  • b8d2f2da9e Accepting new baselines Anders Hejlsberg 2016-05-14 13:35:11 -07:00
  • 20e2be2d51 Properly display optional methods in language service Anders Hejlsberg 2016-05-14 13:34:54 -07:00
  • b90761cf43 Allow class properties and methods to be declared optional using '?' Anders Hejlsberg 2016-05-14 13:34:00 -07:00
  • 45f70d5b1e Test nested object literal assignability to intersection type Nathan Shively-Sanders 2016-05-13 15:58:46 -07:00
  • 2658cf62eb Make getRegularTypeOfObjectLiteral recursive Nathan Shively-Sanders 2016-05-13 15:56:39 -07:00
  • a1cc88b080 Fix bug: getTouchingPropertyName does not return undefined, but it may return the source file node Andy Hanson 2016-05-13 14:44:15 -07:00
  • 67beb00299 Improve test Andy Hanson 2016-05-13 10:23:38 -07:00
  • 81a43f0c7e Look for declaration expressions in nested expressions Andy Hanson 2016-05-13 08:36:51 -07:00
  • 3e32a6131b Include declaration expressions (class expressions and function expressions) in named declarations Andy Hanson 2016-05-13 08:26:41 -07:00
  • e47c94e8ee Fix source map emit for imports, accepts several baselines. Ron Buckton 2016-05-12 15:28:08 -07:00
  • 7706f3837e Minor cleanup of getFlowTypeOfReference parameters Anders Hejlsberg 2016-05-12 14:59:45 -07:00
  • cf749307b9 Merge pull request #8583 from Microsoft/parameter_property_modifier Andy 2016-05-12 14:16:12 -07:00
  • b1cd3de89c Use NodeFlags.ParameterPropertyModifier rather than NodeFLags.AccessibilityModifier to detect parameter properties. This is a continuation of #8555. Andy Hanson 2016-05-12 13:26:35 -07:00
  • 977a7ec1ba Merge pull request #8509 from Microsoft/Fix8507 Mohamed Hegazy 2016-05-12 11:03:22 -07:00
  • d9657b4368 Merge pull request #8576 from Microsoft/intersection_quick_info Andy 2016-05-12 10:35:41 -07:00
  • 7806de0f45 Merge pull request #8555 from Microsoft/readonly_ctr Andy 2016-05-12 10:29:22 -07:00
  • eb2845dba2 Merge pull request #8577 from Microsoft/computed_getter Andy 2016-05-12 10:28:31 -07:00
  • d713c58c6b Fix 8532: Correct source map output for computed getter of object literal Andy Hanson 2016-05-12 09:30:21 -07:00
  • 3334134243 Fix #7966: A non-anonymous type can still fail to have a symbol. For example, an intersection type. Andy Hanson 2016-05-12 07:25:21 -07:00
  • 22ee90a744 Add test for lambda parameter named 'readonly' Andy Hanson 2016-05-11 14:32:59 -07:00
  • ce596732ab Remove duplicate check for misplaced parameter properties (taken care of by checkParameter) Andy Hanson 2016-05-11 14:14:52 -07:00
  • 40afe4a4dd Don't report error twice for readonly in method Andy Hanson 2016-05-11 13:54:50 -07:00
  • 02f2ed798f Add declaration emit tests for readonly parameter property Andy Hanson 2016-05-11 13:14:22 -07:00
  • d8d5dafe1a Merge pull request #8566 from Microsoft/controlFlowDeleteOperator Anders Hejlsberg 2016-05-11 20:52:15 -07:00
  • 68aa646f0f Additional source map fixes for initializers and arrow functions. Ron Buckton 2016-05-11 19:25:31 -07:00
  • fb2607c95c Adding test Anders Hejlsberg 2016-05-11 16:57:19 -07:00
  • 65468ed352 Include 'delete' operator in control flow analysis Anders Hejlsberg 2016-05-11 16:57:06 -07:00
  • cd11d3dc91 Merge pull request #8560 from Microsoft/perfWork Vladimir Matveev 2016-05-11 14:25:08 -07:00
  • b69e65f1f9 Fix source maps for arrow functions, comments in sourcemap writer. Ron Buckton 2016-05-11 13:33:59 -07:00
  • d68cd2042e Merge pull request #8556 from Microsoft/controlFlowLoopAnalysis Anders Hejlsberg 2016-05-11 13:29:31 -07:00
  • 43691b10a8 Adding test Anders Hejlsberg 2016-05-11 13:03:47 -07:00
  • c9a3ea6fe0 Stop analyzing loop branches when declared type is seen Anders Hejlsberg 2016-05-11 12:49:42 -07:00
  • d594865aaa fixes source map emit for export= in commonjs Ron Buckton 2016-05-11 11:33:02 -07:00
  • 89506c1138 Merge pull request #8548 from Microsoft/typeGuardAsAssertion Anders Hejlsberg 2016-05-11 11:27:43 -07:00
  • a9742c5861 Change name from ConstructorParameterModifier to ParameterPropertyModifier Andy Hanson 2016-05-11 09:48:37 -07:00
  • 9f30d9ff6e Adding test Anders Hejlsberg 2016-05-11 09:42:55 -07:00
  • 5edf72666d Revert to declared type when '!' postfix operator would produce 'nothing' Anders Hejlsberg 2016-05-11 09:26:03 -07:00
  • ad2634e343 Fix #7590: Allow 'readonly' to be used in constructor parameters Andy Hanson 2016-05-11 08:29:03 -07:00
  • 5e94c76190 expose code path that will use Path type to avoid redundant string conversions Vladimir Matveev 2016-05-10 23:43:26 -07:00
  • 47320d968a fixes source map emit for export= in amd Ron Buckton 2016-05-10 18:57:01 -07:00
  • 647a3efa4f Fixes source map alignment for enums Ron Buckton 2016-05-10 17:43:13 -07:00
  • a0bc3c9dd2 Minor fixes and new baselines for destructuring source maps. Ron Buckton 2016-05-10 17:20:09 -07:00
  • 269416d675 Add test zhengbli 2016-05-10 16:04:59 -07:00
  • b68e93966a Fix 8482: Add Object.values and Object.entries (#8538) Yui 2016-05-10 14:22:00 -07:00
  • 6e16a7eae6 Fix TypeErrors from decorated class emit. Ron Buckton 2016-05-10 12:13:05 -07:00
  • 0120d7bf7b Merge pull request #8456 from Microsoft/Fix8415 Mohamed Hegazy 2016-05-10 10:54:02 -07:00
  • 8c9348d8d6 Adding test Anders Hejlsberg 2016-05-10 10:38:41 -07:00
  • 2a45e56b65 Accepting new baselines Anders Hejlsberg 2016-05-10 10:38:31 -07:00
  • 6563251dbf Renaming emptyUnionType to nothingType Anders Hejlsberg 2016-05-10 09:40:24 -07:00
  • e944bfab52 Revert to declared type when narrowing produces the nothing type Anders Hejlsberg 2016-05-10 09:35:23 -07:00
  • 16fccf5d38 Merge pull request #8540 from LPGhatguy/patch-1 Daniel Rosenwasser 2016-05-09 22:24:10 -07:00
  • 71e4d4504f Fix minor comment typo Lucien Greathouse 2016-05-09 23:05:57 -06:00
  • 747924a3c5 Merge pull request #8539 from Microsoft/resolveTargetForVarSymbol Vladimir Matveev 2016-05-09 17:08:36 -07:00
  • 2ef748308a Merge branch 'transforms' into transforms-fixMoreSourceMaps Ron Buckton 2016-05-09 17:00:53 -07:00
  • f95b0bcf82 resolve target of alias when getting member from the module Vladimir Matveev 2016-05-09 15:40:03 -07:00
  • cf4d94bd2a Merge pull request #8515 from Arnavion/lib-d-ts-fixes-3 Mohamed Hegazy 2016-05-09 13:41:10 -07:00
  • d17450d17b Merge pull request #8533 from Microsoft/parameterReferencesInInitalizer Vladimir Matveev 2016-05-09 09:47:12 -07:00
  • a2948e131d guard agains cases when local value in initializer shadows function parameter with the same name Vladimir Matveev 2016-05-09 08:50:06 -07:00
  • f657e3c88f Merge branch 'master' into stringLiteralCompletions Mohamed Hegazy 2016-05-08 16:00:50 -07:00
  • 0de410627e Code review comments Mohamed Hegazy 2016-05-08 15:59:15 -07:00
  • 02bae234c6 Merge branch 'master' into Fix8415 Mohamed Hegazy 2016-05-08 15:31:48 -07:00
  • 5e9fc58038 Remove additional error message generated while emitting output Mohamed Hegazy 2016-05-08 15:27:13 -07:00
  • aa87df2cfb Update tests and baselines. Arnavion 2016-05-07 16:40:52 -07:00
  • 0b789ff0bc Add string literal union type overload for String.normalize parameter. Arnavion 2016-05-07 16:29:45 -07:00
  • 8bb75ec3da {Array, TypedArray}.{copyWithin, fill, sort} return this. Arnavion 2016-05-07 16:28:15 -07:00
  • 73590f4fb1 {Map, WeakMap}.set and {Set, WeakSet}.add return this. Arnavion 2016-05-07 16:24:30 -07:00
  • 72c19ec806 Fix 7304: show correct quickinfo on "this" in type position (#8508) Yui 2016-05-07 09:12:53 -07:00
  • b4becd46ec Fix #8507: Consider UnknownSymbols values for import/export purposes Mohamed Hegazy 2016-05-06 17:32:45 -07:00
  • 955cc69c70 Merge pull request #8481 from Microsoft/Fix8470-2 Mohamed Hegazy 2016-05-06 16:55:47 -07:00
  • 4f569c4576 Merge pull request #8502 from Microsoft/deferred-references-in-initializers Vladimir Matveev 2016-05-06 16:37:01 -07:00
  • de177d48d8 Merge pull request #8487 from ziacik/fix-space-tab-indentation Mohamed Hegazy 2016-05-06 15:43:14 -07:00
  • a715c45f25 Merge pull request #8463 from Microsoft/this-types-for-accessors Nathan Shively-Sanders 2016-05-06 14:51:19 -07:00
  • fad25747a7 Merge pull request #8469 from Microsoft/tsconfigParsingImprovements Paul van Brenk 2016-05-06 13:33:01 -07:00
  • 49913fda83 Merge pull request #8501 from zhengbli/ignroeHiddenFilesAddTest Zhengbo Li 2016-05-06 13:13:34 -07:00
  • 8bd8ed7d4b Tolerate non-existing files specified zhengbli 2016-05-06 13:02:57 -07:00
  • c36c074f37 disallow references to local variables of the function from parameter initializers Vladimir Matveev 2016-05-06 12:01:38 -07:00
  • 66476e3a4d Add test for explicitly added dotted files zhengbli 2016-05-06 11:03:45 -07:00
  • 88da665dff CR Feedback Paul van Brenk 2016-05-06 10:27:58 -07:00
  • 8aff38e128 Add the entire tsconfig as a raw property to the parsed config. Paul van Brenk 2016-05-06 10:12:12 -07:00
  • e11b08fa91 Simplified check for indentation difference František Žiačik 2016-05-06 10:09:19 +02:00
  • bc6d6ea49a Merge pull request #8483 from Microsoft/contextually-type-iife-parameters Nathan Shively-Sanders 2016-05-05 20:41:08 -07:00
  • d11ee08170 Merge pull request #8484 from zhengbli/ignoreHiddenFiles Zhengbo Li 2016-05-05 19:22:10 -07:00
  • 7c043b67ae Merge pull request #8491 from Microsoft/sourceFile-getSymbolAtLocation Vladimir Matveev 2016-05-05 18:52:18 -07:00
  • 96d3db212e Only contextually type expressions of calls Nathan Shively-Sanders 2016-05-05 18:00:12 -07:00
  • 676e3bc872 getSymbolAtLocation now returns symbol for external modules Vladimir Matveev 2016-05-05 17:53:19 -07:00
  • cd1af127aa Merge pull request #8486 from Microsoft/symlinked-modules Vladimir Matveev 2016-05-05 15:56:18 -07:00
  • bbbb56b08c Allow async as parameter in arrowfunction (#8488) Yui 2016-05-05 15:33:29 -07:00
  • 85ab935a70 Merge pull request #8485 from RyanCavanaugh/fix8478 Ryan Cavanaugh 2016-05-05 15:28:49 -07:00
  • b0a387aafa Address PR comments Nathan Shively-Sanders 2016-05-05 15:04:17 -07:00
  • 913143dfda Remove stale baselines Ryan Cavanaugh 2016-05-05 14:56:03 -07:00
  • 076fe48c3a Add unit tests for tsconfig file list parsing zhengbli 2016-05-05 14:49:41 -07:00
  • 06d05b079e Fixes space-tab indentation issues František Žiačik 2016-05-05 23:23:25 +02:00
  • ba2a33049c Formatting space vs tabs tests added František Žiačik 2016-05-05 21:29:56 +02:00
  • 1b6d7ed5bb Allow module augmentations to add new top-level names. Fixes #8478 Ryan Cavanaugh 2016-05-05 14:20:19 -07:00
  • 990f1c7c37 Check that token is AsyncKeyword before calling lookAhead (#8477) Yui 2016-05-05 14:18:12 -07:00
  • 0a93768a40 remove unused code Vladimir Matveev 2016-05-05 13:45:14 -07:00
  • 2b5bbfee60 use CompilerHost.realpath to resolve actual location for symlinks Vladimir Matveev 2016-05-05 13:38:09 -07:00
  • 166f95c677 Merge pull request #8311 from zhengbli/reportTsconfigError Zhengbo Li 2016-05-05 13:11:30 -07:00
  • fdc7037bfc ignore dotted files and folders zhengbli 2016-05-05 13:06:12 -07:00
  • c26e920c11 Merge pull request #8480 from Microsoft/controlFlowLoopLogic Anders Hejlsberg 2016-05-05 12:47:29 -07:00