Frank Wallis
76dceb89e4
Rename parameter static -> isStatic, fixes 'static is a reserved identifier' error when running in strict mode ( #3006 )
2015-05-03 19:14:09 +01:00
kmashint
be3e3e7646
Compiler flag to specify line ending #1693 unit test adjustments
2015-05-03 02:18:20 -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
kmashint
bcdf5bba64
Compiler flag to specify line ending #1693 code review adjustments
2015-05-03 02:07:33 -04:00
kmashint
c783e3781a
Compiler flag to specify line ending #1693 code review adjustments
2015-05-03 02:07:28 -04:00
kmashint
c1d2aeab84
Compiler flag to specify line ending #1693 code review adjustments
2015-05-03 02:07:18 -04:00
Keith Mashinter
16d7e5cad7
Compiler flag to specify line ending #1693 fix whitespace
2015-05-03 02:07:13 -04:00
Keith Mashinter
532f92b88f
Compiler flag to specify line ending #1693
2015-05-03 02:07:03 -04:00
Anders Hejlsberg
2792614f8b
Improved circularity detection for types
2015-05-02 16:35:58 -07:00
Vladimir Matveev
432ac30d3c
addressed PR feedback, split conditional expression into multiple lines
2015-05-02 13:36:50 -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
Daniel Rosenwasser
d5c9857e60
Whoops.
2015-05-01 18:40:58 -07:00
Daniel Rosenwasser
9460fb580d
Use 'lastOrUndefined' where appropriate in the services layer.
2015-05-01 18:34:37 -07:00
Daniel Rosenwasser
4ebfee2051
Use 'lastOrUndefined' where appropriate in the compiler.
2015-05-01 18:34:26 -07:00
Daniel Rosenwasser
9fec328778
Moved gargantuan arrow function that obstructed the actual logic of the method.
2015-05-01 17:13:28 -07:00
Daniel Rosenwasser
a27de3f7d8
Moved 'lightMode' flag to Harness.
2015-05-01 17:08:48 -07:00
Ron Buckton
b6f76fd05b
Updated type name
2015-05-01 17:02:43 -07:00
Ron Buckton
22515d452d
Updated ES6 declarations for Promise, updated baselines
2015-05-01 17:02:39 -07:00
Daniel Rosenwasser
d5d7f9f504
Document/rename flag used in compiler.
2015-05-01 16:53:55 -07:00
Mohamed Hegazy
689c09cb10
Merge branch 'whitneyit-feature/noEmitExtends'
2015-05-01 16:41:32 -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
Paul van Brenk
c790b91bd5
confused, in typescript a type decl needs the ( ) for a lambda
2015-05-01 16:13:46 -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
Mohamed Hegazy
f073981474
Update command name
2015-05-01 15:57:11 -07:00
Ron Buckton
9438355f94
Merge pull request #2989 from Microsoft/fixHelpersForStrict
...
Fixes helpers in strict mode
2015-05-01 15:41:41 -07:00
Mohamed Hegazy
70c2d58f58
Remove erronious change to shims.ts in previous commit
2015-05-01 15:14:16 -07:00
Mohamed Hegazy
1de5ea802b
Respond to code review comments
2015-05-01 14:58:23 -07:00
Anders Hejlsberg
a0f44788ff
Merge branch 'master' into circularVar
2015-05-01 14:44:45 -07:00
Anders Hejlsberg
05f51dc781
Error when variable is circularly referenced in type annotation
2015-05-01 14:44:06 -07:00
Paul van Brenk
6fd0a38335
This seems to work today, not sure what I was seeing yesterday.
2015-05-01 12:38:41 -07:00
Zhengbo Li
69a76a3b66
cf feedback
2015-05-01 12:25:30 -07:00
Zhengbo Li
79da6a5ee8
Fix issue #2984
2015-05-01 11:33:53 -07:00
Ron Buckton
60ae9bd14d
Fixes helpers in strict mode
2015-05-01 10:49:54 -07:00
CyrusNajmabadi
3bd4dd4095
Merge pull request #2977 from Microsoft/getClassifications2
...
Add a common, dense, format for classification operations to lower cost of processing on the host side.
2015-04-30 18:02:45 -07:00
Cyrus Najmabadi
1c7600b4f5
Update names.
2015-04-30 17:51:07 -07:00
Cyrus Najmabadi
d0ccc11405
Fix name.
2015-04-30 17:51:00 -07:00
Cyrus Najmabadi
ddd1091d1b
Log when the lexical classifier fails. not the perf of each line.
2015-04-30 17:50:49 -07:00
Cyrus Najmabadi
25aed1129c
Unify more classification code.
2015-04-30 17:50:39 -07:00
Cyrus Najmabadi
089fd4dd8f
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 17:50:27 -07:00
Cyrus Najmabadi
c35f348cd8
Faster getClassifications
2015-04-30 17:50:11 -07:00
Cyrus Najmabadi
7769b4cd19
Update names.
2015-04-30 17:48:01 -07:00
Cyrus Najmabadi
b49e07c2fa
Fix name.
2015-04-30 17:20:04 -07:00
Paul van Brenk
45591c846c
CR feedback
2015-04-30 17:13:26 -07:00
Cyrus Najmabadi
248f9b78fb
Log when the lexical classifier fails. not the perf of each line.
2015-04-30 16:14:43 -07:00
Paul van Brenk
63f3bafed6
Fixes Aggressive completion makes it difficult to type function types. #2494 + test case
2015-04-30 15:41:14 -07:00
Paul van Brenk
fd5a04cb14
this fixes No builder in right-hand side of object binding pattern element #2693 and adds tests
2015-04-30 15:01:37 -07:00
Cyrus Najmabadi
c0c2c4f9a3
Unify more classification code.
2015-04-30 14:57:38 -07:00