Commit Graph

35940 Commits

Author SHA1 Message Date
Wesley Wigham b786687af8 Merge pull request #4961 from weswigham/repo-hooks
Git post-checkout hook
2015-09-24 17:56:54 -07:00
Daniel Rosenwasser 81dabb4d51 Ensure that doc comments don't appear between dotted names.
Also updated TODO
2015-09-24 17:11:05 -07:00
Daniel Rosenwasser 08e2b0a159 Added tests for dotted namespace declarations, object literal methods. 2015-09-24 17:09:16 -07:00
Wesley Wigham 29f7c2c9c8 intentation is powerful 2015-09-24 17:07:02 -07:00
Wesley Wigham 9984ae9000 We can go simpler 2015-09-24 17:04:57 -07:00
Wesley Wigham e747bf2b36 fix hook 2015-09-24 17:02:10 -07:00
Wesley Wigham 758e4402da Add git hooks 2015-09-24 17:00:27 -07:00
Daniel Rosenwasser 67b44b59c0 Add JSDoc to methods, constructors, classes, and namespace/module declarations. 2015-09-24 16:40:13 -07:00
Daniel Rosenwasser 7f4f461a84 Amended tests. 2015-09-24 16:30:40 -07:00
Daniel Rosenwasser 1545ab56f3 Use a loop because reduce is unreadable. 2015-09-24 16:01:47 -07:00
Anders Hejlsberg bcea3594a3 Merge pull request #4956 from Microsoft/bindingElementContextualTyping
Fix parameter destructuring issues
2015-09-24 15:55:37 -07:00
Anders Hejlsberg 80e3b72816 Adding repro from #4818 to test 2015-09-24 15:46:00 -07:00
Daniel Rosenwasser b2821c5321 Added tests for JSDoc comment templates on other declarations/statements. 2015-09-24 15:00:51 -07:00
Anders Hejlsberg eb73565429 Adding tests 2015-09-24 13:52:19 -07:00
Anders Hejlsberg 1a26789615 Properly propagate contextual types into parameter destructuring elements 2015-09-24 13:35:12 -07:00
Wesley Wigham dd660dca39 Merge pull request #4811 from weswigham/es6-module-type
Support modules when targeting ES6 and an ES6 ModuleKind
2015-09-24 12:09:58 -07:00
Vladimir Matveev fa3d9f3997 align behavior of constant expressions in initializers of ambient enum members with spec 2015-09-23 21:30:27 -07:00
Anders Hejlsberg a292da593b Check if binding element already has been assigned a contextual type 2015-09-23 14:45:09 -07:00
Vladimir Matveev 5078152a21 use formatting scanner with languageVariant=JSX for .tsx files 2015-09-22 14:57:23 -07:00
Anders Hejlsberg 7acb9dd0a3 Adding comments and addressing CR feedback 2015-09-22 14:17:40 -07:00
Sheetal Nandi 0fe282e719 Update the type assertion errors to jsx syntax error as we are treating js files as jsx files 2015-09-22 12:50:25 -07:00
Sheetal Nandi e044d3e6b5 Merge branch 'master' into tscJsFiles 2015-09-22 12:36:36 -07:00
Sheetal Nandi 607564f2e2 Parse all the javascript files with JSX grammer 2015-09-22 12:33:40 -07:00
Sheetal Nandi 7f09c81251 Syntax changes if the extensions to treat as javascript change 2015-09-22 12:33:20 -07:00
Anders Hejlsberg 285483d871 Merge branch 'master' into polymorphicThisType
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
2015-09-22 10:04:23 -07:00
Vladimir Matveev 5a77d67b63 Merge pull request #4921 from Microsoft/implementsAsIdentifier
disambiguate: 'implements' starts heritage clause vs 'implements' is …
2015-09-22 09:13:37 -07:00
Vladimir Matveev 1482adeb75 Merge pull request #4919 from Microsoft/removeUnusedCode
[cleanup] removed duplicate function implementation
2015-09-22 09:13:18 -07:00
SaschaNaz c850919614 \. instead of . 2015-09-22 18:17:03 +09:00
SaschaNaz 00a373a5ef update regex for filename 2015-09-22 18:09:54 +09:00
SaschaNaz 04d73ba504 Merge remote-tracking branch 'Microsoft/master' into tsconfigpath 2015-09-22 17:53:31 +09:00
SaschaNaz 271003008e format/existence check 2015-09-22 17:53:20 +09:00
SaschaNaz f9e8d9562d slight condition change for getDelta 2015-09-22 16:32:24 +09:00
SaschaNaz 3dd7caafbf no null 2015-09-22 15:07:44 +09:00
Vladimir Matveev 4711f0ee5b merge with master 2015-09-21 22:30:17 -07:00
Vladimir Matveev c56b4165ec disambiguate: 'implements' starts heritage clause vs 'implements' is a class name 2015-09-21 22:22:25 -07:00
Vladimir Matveev 2f7556256a removed duplicate function implementation 2015-09-21 21:30:10 -07:00
Wesley Wigham 8ff551ce08 merge with master 2015-09-21 17:38:56 -07:00
Wesley Wigham 7b48a182c0 Merge pull request #4915 from weswigham/remove-generated-code
Delete generated file, add to gitignore
2015-09-21 17:16:07 -07:00
Wesley Wigham d409ba785c Delete generated file, add to gitignore 2015-09-21 16:58:45 -07:00
Yui T a3f5666a80 remove unnecessary union 2015-09-21 16:47:23 -07:00
Anders Hejlsberg 06a250effe Commenting out broken fourslash tests 2015-09-21 16:38:54 -07:00
Yui T 4037255c27 Update baselines to include new tests 2015-09-21 16:16:47 -07:00
Yui T 4fc74b2d8a Add and update tests for exponentiation 2015-09-21 16:16:28 -07:00
Vladimir Matveev d57ceb1d32 extend the list of extensions for module file names in node_modules folder 2015-09-21 16:10:03 -07:00
Sheetal Nandi 1df341b911 Merge branch 'master' into tscJsFilesxt 2015-09-21 15:50:39 -07:00
Yui T 31b8736408 Update existed baselines that are affected by ES7 UnaryExpression 2015-09-21 15:44:59 -07:00
Yui T 072089f0ec Downlevel emit for **= 2015-09-21 15:43:49 -07:00
Yui T 1140eb8177 Parse ES7 UnaryExpression and IncrementExpression 2015-09-21 15:43:33 -07:00
Daniel Rosenwasser c2f46c3ad9 Merge pull request #4886 from Microsoft/diagnosticDuplicateCodes
Fix duplicate codes in diagnostics
2015-09-21 15:40:30 -07:00
Sheetal Nandi c30104e3b6 Add option --jsExtensions to handle extensions to treat as javascript
- Command line now takes --jsExtension multiple times or comma separated list of extensions
- tsconfig accepts array of extension strings
2015-09-21 15:39:53 -07:00