@@ -950,20 +950,6 @@ class ClassNode extends DataFlow::ValueNode, DataFlow::SourceNode {
950
950
result = method .getBody ( ) .flow ( )
951
951
)
952
952
or
953
- // ES6 class property or Function-style class methods via constructor
954
- kind = MemberKind:: method ( ) and
955
- exists ( ThisNode receiver |
956
- receiver = this .getConstructor ( ) .getReceiver ( ) and
957
- receiver .hasPropertyWrite ( name , result )
958
- )
959
- or
960
- // Function-style class methods via prototype
961
- kind = MemberKind:: method ( ) and
962
- exists ( DataFlow:: SourceNode proto |
963
- proto = this .getAPrototypeReference ( ) and
964
- proto .hasPropertyWrite ( name , result )
965
- )
966
- or
967
953
// Function-style class accessors
968
954
astNode instanceof Function and
969
955
exists ( PropertyAccessor accessor |
@@ -995,20 +981,6 @@ class ClassNode extends DataFlow::ValueNode, DataFlow::SourceNode {
995
981
result = method .getBody ( ) .flow ( )
996
982
)
997
983
or
998
- // ES6 class property or Function-style class methods via constructor
999
- kind = MemberKind:: method ( ) and
1000
- exists ( ThisNode receiver |
1001
- receiver = this .getConstructor ( ) .getReceiver ( ) and
1002
- result = receiver .getAPropertySource ( )
1003
- )
1004
- or
1005
- // Function-style class methods via prototype
1006
- kind = MemberKind:: method ( ) and
1007
- exists ( DataFlow:: SourceNode proto |
1008
- proto = this .getAPrototypeReference ( ) and
1009
- result = proto .getAPropertySource ( )
1010
- )
1011
- or
1012
984
// Function-style class accessors
1013
985
astNode instanceof Function and
1014
986
exists ( PropertyAccessor accessor |
0 commit comments