8429 Commits

Author SHA1 Message Date
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
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
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
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
Anders Hejlsberg
89ea067e1c Accepting new baselines 2015-09-21 14:30:23 -07:00
Anders Hejlsberg
9438a4bce0 Polymorphic "this" type 2015-09-21 14:29:31 -07:00
Wesley Wigham
db9b16451b fixing lints in a pr about linting 2015-09-21 12:48:08 -07:00
Mohamed Hegazy
c5a85c761f Update LKG 2015-09-21 02:06:36 -07:00
Mohamed Hegazy
2477d1c7e4 Merge branch 'punya-fix-capitalization' 2015-09-21 02:02:22 -07:00
Mohamed Hegazy
45d96a18ac Merge branch 'fix-capitalization' of https://github.com/punya/TypeScript into punya-fix-capitalization 2015-09-21 02:00:58 -07:00
Daniel Rosenwasser
962ba8288b Conflicts should cause errors instead of warnings. 2015-09-20 12:41:28 -07:00
Daniel Rosenwasser
b265467ce7 Accepted baselines. 2015-09-20 12:26:28 -07:00
Daniel Rosenwasser
942ca46637 Fixed duplicate diagnostic codes. 2015-09-20 12:16:56 -07:00
Daniel Rosenwasser
2e5b6fec7c Add funcitonality to warn on duplicate codes. 2015-09-20 12:14:56 -07:00
SaschaNaz
602e845809 Merge remote-tracking branch 'Microsoft/master' 2015-09-20 15:06:36 +09:00
Daniel Rosenwasser
92f5f59a07 Merge pull request #4875 from jbondc/utilities-typos
Utilities typos + missing reference
2015-09-19 10:04:41 -07:00
jbondc
921adc89e8 Utilities typos + missing reference 2015-09-19 11:43:15 -04:00
Daniel Rosenwasser
e4f0ebbb3e Fixed links to spec in the README. 2015-09-19 00:53:15 -07:00
Yui T
21d03690c0 Basic parsing for the UnaryExpression: IncrementExpression[?Yield]**UnaryExpression[?Yield] 2015-09-18 18:38:59 -07:00
Yui T
76ef7b40de Initial operator. Need to fix the grammar for unaryExpression 2015-09-18 18:31:52 -07:00
Yui T
04ed89230e Add tests for exponentiation 2015-09-18 17:44:19 -07:00
Daniel Rosenwasser
c28efb7572 Merge pull request #4845 from Microsoft/updateDTRWC
Fix importDefinitelyTypedTests script
2015-09-18 14:39:53 -07:00
Daniel Rosenwasser
5a2a7021fa Fix jake task, style/const in script. 2015-09-18 13:13:36 -07:00
Daniel Rosenwasser
f88f029fdf Merge pull request #4862 from Microsoft/contextuallyTypeMethodDeclarations
Contextually type method declaration parameters in object literals
2015-09-18 12:34:40 -07:00
Daniel Rosenwasser
254af55204 Added missing predicate for contextual types of parameters. 2015-09-18 12:22:57 -07:00
Daniel Rosenwasser
2aa97bd1b9 Use custom type guard. 2015-09-18 12:22:52 -07:00
Daniel Rosenwasser
76da69c6c6 Added failing fourslash test. 2015-09-18 12:22:48 -07:00
Daniel Rosenwasser
3fa6b6de3a Accepted baselines, issue not apparent in compiler tests. 2015-09-18 12:22:09 -07:00
Wesley Wigham
04b0aa269f s/var/let 2015-09-18 10:29:54 -07:00
Punya Biswal
55218d64a5 Fix capitalization of minimumintegerDigits 2015-09-18 08:42:42 -04:00
Wesley Wigham
ccba427a27 whitespace! 2015-09-17 21:08:35 -07:00
Wesley Wigham
8a46de4d5c Rework lint to use tslint-as-a-lib 2015-09-17 21:04:33 -07:00
Wesley Wigham
fe5bca8712 Next-line rule was too strict
We have a few places where we do this:
```ts
if {
  //...
}
// Look, a comment
else {
  //...
}
```
I don't think we want to forbid these cases, so I'm loosening the requirement from "must be on the line after the prior curly brace" to "can't be on the same line as the curly brace".
2015-09-17 19:11:44 -07:00
Daniel Rosenwasser
37ee17d40d es3 -> es5. 2015-09-17 17:56:39 -07:00