Commit Graph

26317 Commits

Author SHA1 Message Date
Daniel Rosenwasser 8702cc4215 Renamed functions, fixed signature, removed TODO. 2015-11-24 18:01:47 -08:00
Yui T 7ff4238f93 Fix crushing of getting signatureDeclaration when we are not in function declaration 2015-11-24 17:44:10 -08:00
Ron Buckton d88186bc11 Removed isArray branch in checkCycles as it was unnecessary 2015-11-24 17:06:17 -08:00
Ron Buckton 0ad2efcd61 removed typeof check for isArray 2015-11-24 17:00:27 -08:00
Ron Buckton fd51ebf0fd Minor stringify cleanup, added cycle detection for AssertionLevel.Aggresive only. 2015-11-24 16:59:55 -08:00
Vladimir Matveev 25cc97bb75 addressed PR feedback 2015-11-24 16:41:41 -08:00
Ron Buckton aa5e57668f minor tweak to null handling in stringify 2015-11-24 16:26:57 -08:00
Vladimir Matveev cccdd44c3d merge with master 2015-11-24 16:02:42 -08:00
Ron Buckton 8909c3a2dd Merge pull request #5725 from Microsoft/stringTypesCleanup
Disambiguate string literal types from other string literals.
2015-11-24 15:23:25 -08:00
Sheetal Nandi a7cc86380d Merge branch 'master' into sourceMapAndBreakpointDecorators 2015-11-24 14:53:18 -08:00
Wesley Wigham d0de238e34 Merge pull request #5765 from weswigham/emit-module-in-strict-mode
Emit modules in strict mode
2015-11-24 13:58:48 -08:00
Wesley Wigham 27149f3c88 only emit use strict if a use strict prologue isnt found 2015-11-24 13:31:30 -08:00
Ryan Cavanaugh 2a2155819f Merge pull request #4883 from SaschaNaz/tsconfigpath
Support full path for -project/-p paramater
2015-11-24 12:49:02 -08:00
Nathan Shively-Sanders c35f7da0fa Elaborate interface signature errors
Signature errors were not reported before.
2015-11-24 09:34:20 -08:00
Anders Hejlsberg ea0cc798da Merge pull request #5738 from Microsoft/unionIntersectionTypeInference
Improved union/intersection type inference
2015-11-24 08:33:14 -08:00
SaschaNaz 880db386a4 removing filename requirement 2015-11-24 23:39:12 +09:00
Ron Buckton 5c23a5f11e Extract source map generation logic out of the emitter. 2015-11-23 22:38:05 -08:00
Wesley Wigham 88d580ffe7 Merge branch 'master' into emit-module-in-strict-mode 2015-11-23 17:06:02 -08:00
Wesley Wigham f782c82ba3 Add comments, change error message 2015-11-23 17:02:01 -08:00
Wesley Wigham a03f06f766 add strict mdoe directive to all nones6 module emits 2015-11-23 14:39:41 -08:00
Vladimir Matveev fb76dc95de Merge pull request #5759 from Microsoft/bangInModuleNames
do not treat modules with '!' in names any specially
2015-11-23 14:08:33 -08:00
Vladimir Matveev 566c0db543 fix lint errors 2015-11-23 13:24:46 -08:00
Wesley Wigham 3b6fa314da new tests 2015-11-23 13:12:34 -08:00
Anders Hejlsberg 4beedcf4c7 Update relation cache after we decide to elaborate an error 2015-11-23 13:09:50 -08:00
Vladimir Matveev 2836c17791 do not treat modules with '!' in names any specially 2015-11-23 13:08:44 -08:00
Wesley Wigham a9be53093c change enum emit 2015-11-23 12:55:29 -08:00
Wesley Wigham 60234342d5 fix whitespace 2015-11-23 12:44:49 -08:00
Wesley Wigham 6a8e78cdc0 fix ES6 emit for namespaces to only emit one export binding 2015-11-23 12:43:28 -08:00
Wesley Wigham d0fc3948b5 Correct comments, use destructuring 2015-11-23 12:22:08 -08:00
Vladimir Matveev 5eb8f71ee1 addressed PR feedback 2015-11-22 22:06:05 -08:00
Vladimir Matveev 988a51237b address PR feedback - fixed typo in comment 2015-11-22 21:28:07 -08:00
Vladimir Matveev 181c943feb correctly capture 'this' when converting loops into functions 2015-11-21 20:11:39 -08:00
Anders Hejlsberg add5146aea Fix linting errors 2015-11-20 15:32:17 -08:00
Wesley Wigham f28958fe18 Merge branch 'master' into autohoist-default 2015-11-20 13:45:25 -08:00
Nathan Yee 5b3d299412 Clarify comment 2015-11-20 13:33:58 -08:00
Wesley Wigham b11786866b Merge branch 'master' into use-common-directory-for-out 2015-11-20 13:32:12 -08:00
Nathan Yee 40a2a2584d Fix object type literal regression 2015-11-20 13:31:17 -08:00
Ryan Cavanaugh fb83ee0a30 WIP 2015-11-20 10:59:13 -08:00
Vladimir Matveev 71b98e0615 apply 'noImplicitReturns' check for functions that don't have type annotations 2015-11-20 10:56:17 -08:00
Ron Buckton 4edf330217 Minor comment update 2015-11-20 10:30:47 -08:00
Ron Buckton 0ee4e0b10d Modified cloneNode to ignore own properties of clone. 2015-11-20 10:13:01 -08:00
Anders Hejlsberg dc629d5a54 Reduce union and intersection types before inference 2015-11-20 10:07:36 -08:00
Nathan Yee c93f454549 Implement #5173
Give more helpful error when trying to set default values on an
interface
2015-11-20 08:30:50 -08:00
Vladimir Matveev 6844285782 verbose module resolution 2015-11-19 21:33:33 -08:00
Vladimir Matveev 6bed1ba53a merge with master 2015-11-19 21:11:57 -08:00
SaschaNaz e5587fbae0 Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsconfigpath
Conflicts:
	src/compiler/diagnosticMessages.json
2015-11-20 11:30:31 +09:00
Ron Buckton 9b0231d9b8 Minor change to getStringLiteralType 2015-11-19 17:50:28 -08:00
Ron Buckton 68c292c445 Adds a generic algorithm to create a shallow, memberwise clone of a node. 2015-11-19 17:42:12 -08:00
Ron Buckton f5b8619199 Adds StringLiteralType to SyntaxKind to disambiguate string literals in a type position. 2015-11-19 17:08:51 -08:00
Sheetal Nandi ba2238fe58 Decorators node array should have pos at token @ instead of actual decorator expression 2015-11-19 16:48:45 -08:00