Commit graph

24 commits

Author SHA1 Message Date
Andrew Branch 5ff3cda078
Add some negative test cases and accept baselines 2019-06-26 14:01:50 -07:00
Andrew Branch 17f6f77de5
Fix declaration emit for negative number property declarations 2019-06-26 11:49:45 -07:00
Nathan Shively-Sanders 1fb6d349f1 Test:use type param constraints for computed prop types 2017-07-25 09:39:54 -07:00
Nathan Shively-Sanders 42c17e194e Address PR comments 2016-05-25 17:03:33 -07:00
Nathan Shively-Sanders 5138e8be8e Correct tests and update baselines.
A lot of tests used non-numeric property names for object literals that
are contextually typed only by a numeric indexer.
2016-05-25 11:37:10 -07:00
Andy Hanson d713c58c6b Fix 8532: Correct source map output for computed getter of object literal 2016-05-12 09:30:21 -07:00
Yui T 2c7ea7f6b2 Update Baselines 2015-03-16 14:28:29 -07:00
Yui T 56839604da Disallow refering to static property in computed property name 2015-03-12 08:40:09 -07:00
Daniel Rosenwasser ce85b14589 Made the initial object literal properties indented. 2015-02-19 13:11:59 -08:00
Daniel Rosenwasser 657d465398 Added ES5 tests for computed properties. 2015-02-03 17:43:31 -08:00
Daniel Rosenwasser f416cb01c1 Explicitly specify ES6 target in computed property test file names. 2015-02-03 15:28:12 -08:00
Jason Freeman f7a8ba28ff Use isTypeOfKind in computed property checks 2015-01-21 17:01:42 -08:00
Jason Freeman de5aa6c0d2 Fix source map scope name for computed properties 2015-01-21 11:01:05 -08:00
Jason Freeman eb7798fbb2 Skip computed properties on declaration emit 2015-01-20 18:29:04 -08:00
Jason Freeman 85219ee5e1 Check computed properties against indexers in classes 2015-01-20 17:07:55 -08:00
Jason Freeman 89f36bb9c5 Disallow computed properties referencing type parameters from containing type 2015-01-19 18:44:15 -08:00
Jason Freeman b5349a5038 Disallow super and fix this capturing for computed properties 2015-01-19 16:37:17 -08:00
Jason Freeman 4cc2722700 Disallow this in computed properties in classes 2015-01-19 16:37:10 -08:00
Jason Freeman 1973b42946 Indexers in object literals include computed property types 2015-01-19 16:37:03 -08:00
Jason Freeman 1b35a1be25 Contextual typing for computed properties 2015-01-19 16:37:00 -08:00
Jason Freeman 96b5f1fe43 Add tests for classes, methods, accessors with computed properties 2015-01-19 16:36:53 -08:00
Jason Freeman 4ac2b4b9c8 Add tests for object literals with computed properties 2015-01-19 16:36:43 -08:00
Jason Freeman f6266fc99e Checker refactor for FunctionLike and VariableOrProperty 2014-11-25 16:09:05 -08:00
Jason Freeman 0e864143de Emit tests for computed properties 2014-11-25 16:08:58 -08:00