Commit Graph

35940 Commits

Author SHA1 Message Date
Vladimir Matveev 238e1c6f4b partially suppress reachability errors in tests 2015-10-13 11:17:10 -07:00
Vladimir Matveev bc02341e99 addressed PR feedback, updated tests to suppress reachability errors where they are not needed 2015-10-13 10:58:55 -07:00
Vladimir Matveev 17716fb540 accepted baselines 2015-10-13 09:06:58 -07:00
Vladimir Matveev 48b24343b1 use isBlockScopedNameDeclaredBeforeUse for block scoped variables and enums 2015-10-13 00:07:36 -07:00
Vladimir Matveev 938dd747c6 Merge branch 'master' into reachabilityChecks 2015-10-12 22:33:25 -07:00
Ron Buckton 0fa89ad99c Fixes #5104. 2015-10-12 17:38:55 -07:00
Vladimir Matveev eb3b91cf1b addressed PR feedback 2015-10-12 17:24:39 -07:00
Wesley Wigham c4a15d9a3b Merge pull request #5067 from Microsoft/travis-node-4
CI Against Node 4
2015-10-12 16:58:36 -07:00
Yui 77eaf04386 Merge pull request #4914 from Microsoft/exponentiation
[ES7] Exponentiation
2015-10-12 16:37:45 -07:00
Sheetal Nandi 11b270f6ca Add testcase - generating declaration file results in more errors in ts file 2015-10-12 16:27:11 -07:00
Vladimir Matveev f952873ef1 allow forward references to block scoped variables from functions 2015-10-12 16:18:37 -07:00
Vladimir Matveev c8ba16644b Merge pull request #4911 from Microsoft/liftDtsOnlyRestriction
extend the list of extensions for module file names in node_modules f…
2015-10-12 14:48:47 -07:00
Sheetal Nandi 9f96f47a4f Added scenario when duplicate function implementation is reported 2015-10-12 14:47:22 -07:00
Sheetal Nandi d4d6e48ea5 Adding test case for scenario in which error reported depends on order of files 2015-10-12 14:39:10 -07:00
Nathan Shively-Sanders 92c2d48465 Lint: remove trailing whitespace 2015-10-12 14:37:10 -07:00
Yui T 90258794a6 Address PR feedback 2015-10-12 14:32:48 -07:00
Sheetal Nandi b38a81bc73 Emit enabled for JS files 2015-10-12 14:31:44 -07:00
Mohamed Hegazy e9bed76baa Remove --experimentalAsyncFunctions from tests 2015-10-12 14:27:58 -07:00
Mohamed Hegazy 92f1b48cc8 Remove --experimentalAsyncFunctions 2015-10-12 14:27:33 -07:00
Nathan Shively-Sanders 3a55c849c7 Assert that ambient classes merge with interfaces
Specifically, overloads are recognised as having the same export/ambient
flags when merging the two.
2015-10-12 14:26:45 -07:00
Nathan Shively-Sanders d6ae55708d Do not mark class members as ambient or export.
Even members of ambient classes. These flags have no useful semantics
there, and it prevents ambient classes from merging properly with
interfaces.
2015-10-12 14:25:39 -07:00
Nathan Shively-Sanders 8a051343ff Merge pull request #5169 from Microsoft/fix-simple-uses-of-polymorphic-this-in-services
Fix simple uses of polymorphic this in services
2015-10-12 13:54:50 -07:00
Vladimir Matveev 4ccf630f63 merge with master 2015-10-12 13:45:06 -07:00
Sheetal Nandi 286fb3e948 Fix the lint error 2015-10-12 13:10:54 -07:00
Sheetal Nandi f28fbfd7c5 Merge branch 'master' into tscJsFiles 2015-10-12 12:51:24 -07:00
Sheetal Nandi 6882035dc0 Verify if one or more files are emitting into same output file we provide error 2015-10-12 12:50:35 -07:00
Sheetal Nandi a87dae15a9 Verify that when emit blocking error occurs rest of the emit occurs as expected 2015-10-12 12:44:21 -07:00
Sheetal Nandi 5e14edb4b7 Verify the emit file name is unique and doesnt overwrite input file
Fixes #4424
2015-10-12 12:25:13 -07:00
Ryan Cavanaugh c05297cfea Merge pull request #5178 from RyanCavanaugh/fix5132
Escape quotes when emitting React
2015-10-12 11:56:46 -07:00
Yui T e405ccebec fix linter failure 2015-10-12 11:48:38 -07:00
Zhengbo Li 5605c8a639 Merge pull request #5177 from zhengbli/i4684
Change the definition of NodeFilter in lib.d.ts
2015-10-12 11:44:26 -07:00
zhengbli de52865243 Remove prototype from NodeFilter static type 2015-10-12 11:35:36 -07:00
Vladimir Matveev 22e68de7ec Merge pull request #5216 from Microsoft/checkFunctionsInClassExpressions
check functions in class expressions
2015-10-12 11:09:21 -07:00
Yui T 6a62c01aab Merge branch 'exponentiation' of https://github.com/Microsoft/TypeScript into exponentiation 2015-10-12 10:55:17 -07:00
Yui T 2918f9d7a2 Update baseline after merge conflict 2015-10-12 10:55:10 -07:00
Yui T d3e10b3d3f Merge remote-tracking branch 'origin/master' into exponentiation
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/program.ts
2015-10-12 10:54:46 -07:00
Vladimir Matveev d757e5e7a2 Merge pull request #5226 from Microsoft/blockScopedExports
check initialization of exported block scoped variables
2015-10-12 10:32:57 -07:00
Vladimir Matveev 61c5b95f8a Merge pull request #5217 from Microsoft/formatAsyncOpenParen
add rule to insert space between async keyword and open paren
2015-10-12 10:23:32 -07:00
Vladimir Matveev ca98831674 addressed PR feedback: added tests for let declarations 2015-10-12 10:22:18 -07:00
Wesley Wigham 1ae7b7c254 Merge branch 'master' into out-module-concat 2015-10-12 10:21:01 -07:00
Vladimir Matveev adf9f9b8df check initialization of exported block scoped variables 2015-10-12 09:59:41 -07:00
Vladimir Matveev c35419e12e add rule to insert space between async keyword and open paren 2015-10-11 22:19:51 -07:00
Vladimir Matveev a0683276d1 check functions in class expressions 2015-10-11 21:57:17 -07:00
Nathan Shively-Sanders ec2eac53bf Improved non-namespace overriding
Per @ahejlsberg's suggestion, only overwrite a namespace
`valueDeclaration` if the new declaration is not a namespace itself. This
means that if there are multiple namespace declarations, and nothing else,
`valueDeclaration` will be the first namespace declaration, not the last.
2015-10-11 15:33:17 -07:00
Vladimir Matveev ebfcd2547f merge with master 2015-10-11 12:42:27 -07:00
Vladimir Matveev f0ba3f471a support block scoped vars captured in closures inside loops 2015-10-11 01:12:26 -07:00
Vladimir Matveev 1b5dc0d7d1 Merge pull request #5121 from Microsoft/shorthandPropsInDestructuring
parse/check/emit shorthand property assignment in destructuring
2015-10-10 22:39:05 -07:00
SaschaNaz 82bed69123 last line whitespace test 2015-10-10 16:41:54 +09:00
SaschaNaz 6580f877e7 trim the whole last line when it has whitespaces only 2015-10-10 16:38:10 +09:00
Paul van Brenk 573652160c Merge pull request #5197 from Microsoft/supportIndentStyle
Support different indentation styles
2015-10-09 16:51:39 -07:00