Helper for matching a descriptor. This tests that the shape is the same -- |other| accepts the same number and types of arguments and is the same call style).
| 93 | // |other| accepts the same number and types of arguments and is the same call |
| 94 | // style). |
| 95 | bool ShapeMatches(const FunctionDescriptor& other) const { |
| 96 | return ShapeMatches(other.receiver_style(), other.types()); |
| 97 | } |
| 98 | bool ShapeMatches(bool receiver_style, absl::Span<const Kind> types) const; |
| 99 | |
| 100 | bool operator==(const FunctionDescriptor& other) const; |
nothing calls this directly
no test coverage detected