Commit graph

82 commits

Author SHA1 Message Date
Andrey Roenko 15b4af63dd #27716: fix protected methods for intersection fo generic classes 2018-10-12 18:23:07 +03:00
Anders Hejlsberg 82fd5a884d Add test 2017-11-18 11:42:56 -08:00
Anders Hejlsberg 20b21d3259 Add test 2017-11-17 13:21:49 -08:00
Anders Hejlsberg 4141a37ba7 Add tests 2017-11-17 09:52:37 -08:00
Ron Buckton 264652c0ef Fix emit for classes with both fields and 'extends null' 2017-10-09 13:14:49 -07:00
Anders Hejlsberg 88961a276d Add tests 2017-02-09 17:47:04 -08:00
Anders Hejlsberg a8de5ce836 Add regression test 2017-02-01 11:37:24 -08:00
Anders Hejlsberg 56b1dcd8ea Add tests 2017-01-29 12:39:15 -08:00
Tingan Ho 1e5b7c5564
Add tests 2017-01-21 17:09:09 +01:00
about-code 9b217e31df Removing es6 method/property distinction.
Adding tests with default export and anonymous class expressions.
2017-01-14 16:30:12 +01:00
about-code 4718efd181 Removing es6 method/property distinction.
Adding tests with default export and anonymous class expressions.
2017-01-14 16:06:13 +01:00
about-code ff828fd3a0 Merge remote-tracking branch 'upstream/master' 2016-12-30 12:06:33 +01:00
Ron Buckton f89156bf55 Add error for super property before super 2016-12-06 10:47:02 -08:00
Arthur Ozga 4b0697ff9d fix test 2016-11-29 16:04:56 -06:00
Arthur Ozga 3cd1731628 abstract accessors can't have implementations 2016-11-29 15:59:28 -06:00
about-code b623f3771e Fix #442: (es3, es5, es6+) Show compiler errors for conflicting properties. 2016-11-09 21:08:56 +01:00
about-code d9a46e1ae6 Allowing static arguments() and static caller() for target "es6".
Disallow non-function properties `static arguments` and `static caller`, though.
2016-11-06 17:59:38 +01:00
about-code 189dbddb10 Accept baseline tests. Fixing diagnosticMessages.json (merge result not included in prior commit). 2016-11-05 18:42:53 +01:00
about-code 9122f62431 Merge remote-tracking branch 'upstream/master' 2016-10-17 00:02:44 +02:00
about-code 8a37a162b2 Fix for issue #442 2016-10-16 18:43:55 +02:00
about-code fc5b2e524d Fix for issue #442 2016-10-16 18:34:57 +02:00
Kanchalai Tanglertsampan dc501f47c2 Update baselines 2016-09-15 09:21:14 -07:00
Nathan Shively-Sanders 2169928f2b Protected constructors now accessible everywhere in subclasses 2016-07-22 17:38:25 -07:00
Nathan Shively-Sanders 25525607d5 Test that protected constructors are accessible
in static methods of subclasses
2016-07-22 13:38:45 -07:00
Andy Hanson 17009e41d4 Expand tests 2016-05-23 06:06:01 -07:00
Andy Hanson dcbaadaa60 Allow assignment to readonly parameter property within the constructor 2016-05-20 08:54:05 -07:00
Andy Hanson 40afe4a4dd Don't report error twice for readonly in method 2016-05-12 07:07:35 -07:00
Andy Hanson 02f2ed798f Add declaration emit tests for readonly parameter property 2016-05-12 07:07:34 -07:00
Andy Hanson ad2634e343 Fix #7590: Allow 'readonly' to be used in constructor parameters 2016-05-11 08:32:17 -07:00
Mohamed Hegazy 8647d2a97c Merge branch 'nestedPrivateProtectedMembers' of https://github.com/AbubakerB/TypeScript into AbubakerB-nestedPrivateProtectedMembers 2016-03-23 17:54:21 -07:00
Nathan Shively-Sanders 32909bc6e5 Tests for Stop destructuring assignment of private properties 2016-02-26 13:48:42 -08:00
AbubakerB e1be0ff23b Added more tests and accept baselines 2016-02-21 22:12:31 +00:00
AbubakerB 6ce411dd9f Added tests 2016-02-17 22:47:00 +00:00
AbubakerB 208830efa3 Updated tests and accepted baseline 2016-02-13 02:52:25 +00:00
AbubakerB ec7e80e377 Added tests and accept baselines 2016-02-13 01:10:47 +00:00
AbubakerB 4c93eb2e98 Accept baselines 2016-02-04 21:00:50 +00:00
AbubakerB c351ffcc75 Added and updated tests for constructor visibility 2016-02-03 22:48:33 +00:00
Yui T 0af52c3d47 Merge branch 'master' into fix4211 2015-12-14 21:51:36 -08:00
Daniel Rosenwasser e4c5676f2e Added test for immediately invoked class expression. 2015-12-08 17:54:33 -08:00
Yui T c2fb694404 Update baselines 2015-11-30 09:43:30 -08:00
Nathan Shively-Sanders a6068e1c08 More test cases and accept baselines 2015-11-09 10:21:54 -08:00
Nathan Shively-Sanders 9223b02136 Improve test case and add working comparison 2015-11-03 14:42:03 -08:00
Nathan Shively-Sanders 6d683d2a96 Add initial test 2015-11-02 10:44:25 -08:00
Nathan Shively-Sanders 1651f1809c Improve mergedInheritedClassInterface test case
Covers the case when the merged interface extends an interface, but the
merged class does not extend a class, then trying to extend that class.
2015-10-22 11:32:26 -07:00
Nathan Shively-Sanders 4d05189d8d Improve naming of test members 2015-10-21 16:23:59 -07:00
Nathan Shively-Sanders 36ddd022a1 Tests for interfaces merged w/classes
Both interfaces and classes have base classes/interfaces; all members are
available on an instance of the merged child.
2015-10-21 16:10:46 -07:00
Mohamed Hegazy 8b8d33d8b8 Fix comments 2015-10-16 16:29:11 -07:00
Nathan Shively-Sanders 04510ac157 Automatic semicolon insertion for class modifiers
This includes public, private, protected, abstract

async and declare already work this way, but it looks
like they didn't block the completion list, so I added
them to the list too.
2015-10-02 14:30:31 -07:00
JBerger 500861c4f8 Test cases that address https://github.com/Microsoft/TypeScript/issues/4288 2015-08-12 15:34:03 -06:00
Arthur Ozga a693e82e27 Added test 2015-08-06 17:27:52 -07:00