Commit Graph

1843 Commits

Author SHA1 Message Date
Ron Buckton
5e2d48ca99 Merge branch 'master' into asyncFunctions 2015-05-13 11:47:56 -07:00
Vladimir Matveev
907249699a Merge pull request #3110 from Microsoft/emitModuleMemberInSystem
system: fix emit for enums and exported non-top level items
2015-05-12 16:22:13 -07:00
Vladimir Matveev
714b39a511 addressed PR feedback 2015-05-11 14:17:34 -07:00
Vladimir Matveev
cdbd6c6898 system: fix emit for exports of non-top level entities, fix emit for enums 2015-05-11 00:07:49 -07:00
Vladimir Matveev
1a4df9ab7f do not hoist ambient declarations 2015-05-10 22:23:12 -07:00
Yui T
b70276538b Merge branch 'master' into duplicateIdentifierBindingElement 2015-05-08 18:05:57 -07:00
Yui T
38b1bb0bfa Add testcases 2015-05-08 17:51:46 -07:00
Jason Freeman
e0931d8629 Type check all files when emitting a file under -out 2015-05-08 15:03:55 -07:00
Jason Freeman
80f33dd3ea Make boolean compiler options in harness true only if they say 'true' 2015-05-08 15:03:44 -07:00
Ron Buckton
1718ff2915 Merge branch 'master' into asyncFunctions 2015-05-07 18:06:11 -07:00
Mohamed Hegazy
69f94cde8e Merge branch 'master' into refactorNarrowTypeByInstanceOf 2015-05-07 11:27:42 -07:00
Mohamed Hegazy
42b56cf671 Add a regression test 2015-05-06 20:25:12 -07:00
Mohamed Hegazy
8b43b3d18c Update test 2015-05-06 20:18:32 -07:00
Ron Buckton
e82e8419c2 Added emit for async functions in ES6 2015-05-06 17:33:58 -07:00
Jason Freeman
498f315256 Fix typing for Promises so that a void error callback doesn't mess up inference 2015-05-06 15:53:01 -07:00
Mohamed Hegazy
5e94ce65ed Merge branch 'typeguardsByConstructorSigniture' of https://github.com/vvakame/TypeScript into vvakame-typeguardsByConstructorSigniture 2015-05-06 12:44:45 -07:00
vvakame
776f390786 PR feedback 2015-05-06 21:18:15 +09:00
Yui T
a5ec06c8bf Merge branch 'master' into duplicateIdentifierBindingElement 2015-05-05 15:05:55 -07:00
Yui T
cabfdba732 Add tests for duplicate identifier in parameter declaration 2015-05-05 15:01:01 -07:00
Yui T
d701f22a7d update baselines 2015-05-05 15:00:41 -07:00
Anders Hejlsberg
7b860f5df0 Merge pull request #2991 from Microsoft/circularVar
Error when variable is circularly referenced in type annotation
2015-05-05 13:07:29 -07:00
Anders Hejlsberg
f08d3793a3 Adding regression test 2015-05-05 10:02:29 -07:00
Mohamed Hegazy
15f4b58d6c Merge pull request #2966 from Microsoft/getTypeDefinitionAtPosition
Get type definition at position
2015-05-04 14:51:10 -07:00
Mohamed Hegazy
11166d2f08 Merge branch 'kmashint-master' 2015-05-04 13:23:24 -07:00
Vladimir Matveev
bd47ae4886 Merge pull request #3001 from Microsoft/formattingOnChainedCallbacks
fix formatting for chained callbacks
2015-05-04 12:46:08 -07:00
Mohamed Hegazy
07719e32f7 Merge branch 'master' of https://github.com/kmashint/TypeScript into kmashint-master 2015-05-04 12:42:54 -07:00
Yui
fce012d370 Merge pull request #2735 from Microsoft/conformanceParameterDecl
Conformance test for Spec Change in Section 3.8.2.2 parameter Declaration and 6.4 Destructuring parameter declarations
2015-05-04 10:50:53 -07:00
Yui
183c1c47ab Merge pull request #2753 from Microsoft/conformanceArrayLiteral
Conformance test for update in section 4.6 Array Literal
2015-05-04 10:50:41 -07:00
Yui
3da13152f0 Merge pull request #2761 from Microsoft/conformanceContextuallyTypedFuncExp
Conformance test for update spec section 4.9.3 contextual typing in function expression
2015-05-04 10:48:42 -07:00
Yui
75c0bbcfa3 Merge pull request #2773 from Microsoft/conformanceDestructuringAssignment
Conformance test spec change in section 4.17.1 destructuring assignment and 5.1.2 variable declaration conformance tests
2015-05-04 10:47:58 -07:00
Yui
031c344bd6 Merge pull request #2785 from Microsoft/conformanceTypeGuard
Conformance for spec update section 4.20 Add additional tests for typeguard for class or object property
2015-05-04 10:47:06 -07:00
Yui
7a167f26ca Merge pull request #2792 from Microsoft/conformanceConstEnum
Conformance for spec update section 9.4, 12.1.4 const enum
2015-05-04 10:46:21 -07:00
Yui
80103b086a Merge pull request #2814 from Microsoft/conformanceContextuallyTypedExp
Conformance test for 4.19 Contextually Typed Expressions
2015-05-04 10:45:56 -07:00
Mohamed Hegazy
7fc6142def Merge branch 'master' into getTypeDefinitionAtPosition
Conflicts:
	src/services/services.ts
2015-05-04 10:02:37 -07:00
kmashint
be3e3e7646 Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:18:20 -04:00
kmashint
86bd1fc894 Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:07:51 -04:00
kmashint
47c4c125fe Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:07:45 -04:00
kmashint
2e0a55c4d3 Compiler flag to specify line ending #1693 unit tests 2015-05-03 02:07:39 -04:00
Anders Hejlsberg
7efd93a965 Adding test 2015-05-02 16:57:18 -07:00
vvakame
ab10d509f5 support instantiate signature, it has type parameters. 2015-05-02 15:27:06 +09:00
Vladimir Matveev
f5b13bdb6d fix formatting for chained callbacks 2015-05-01 23:13:23 -07:00
Mohamed Hegazy
3c99527e6e Add tests for __metadata and __param 2015-05-01 16:30:30 -07:00
Mohamed Hegazy
101aedbf4e Do not emit __extends if --noEmitHelpers is set 2015-05-01 16:29:41 -07:00
Mohamed Hegazy
93bf569432 Merge branch 'feature/noEmitExtends' of https://github.com/whitneyit/TypeScript into whitneyit-feature/noEmitExtends 2015-05-01 16:04:04 -07:00
Anders Hejlsberg
a133684b36 Modifying test 2015-05-01 15:03:52 -07:00
Mohamed Hegazy
1de5ea802b Respond to code review comments 2015-05-01 14:58:23 -07:00
Cyrus Najmabadi
c0c2c4f9a3 Unify more classification code. 2015-04-30 14:57:38 -07:00
Cyrus Najmabadi
5ad7a593d4 Add a common, dense, format for classification operations to lower cost of processing on the host side.
We now just return an array of triples to represent classified results.  The triple contains:
1) the start of the classification.
2) the length of the classification.
3) the type of the clasification.

We also encode this into a comma separated string when passing over to the managed side
(as opposed to an JSON array).  That way we don't pay such a high JSON parsing cost.
Instead, we can just do a string.split(",") on the encoded triples and process each
element ourselves.
2015-04-30 14:26:46 -07:00
vvakame
35d6e98e98 type narrowing by constructor signiture of interface 2015-04-30 23:12:35 +09:00
Mohamed Hegazy
b6905aff0c Add getTypeDefinitionAtPosition to tsserver 2015-04-29 22:55:05 -07:00