Update utilities.ts

This commit is contained in:
pcbro 2016-01-13 23:43:41 +01:00
parent 911d07a81b
commit 2294ef8891

View file

@ -779,7 +779,7 @@ namespace ts {
* Given an super call\property node returns a closest node where either
* - super call\property is legal in the node and not legal in the parent node the node.
* i.e. super call is legal in constructor but not legal in the class body.
* - node is arrow function (so caller might need to call getSuperContainer in case if he needs to climb higher)
* - node is arrow function (so caller might need to call getSuperContainer in case it needs to climb higher)
* - super call\property is definitely illegal in the node (but might be legal in some subnode)
* i.e. super property access is illegal in function declaration but can be legal in the statement list
*/