| 589 | } |
| 590 | |
| 591 | FunctionType::FunctionType( |
| 592 | std::vector<std::shared_ptr<const Type>>&& argumentTypes, |
| 593 | std::shared_ptr<const Type> returnType) |
| 594 | : children_(allChildren(std::move(argumentTypes), returnType)), |
| 595 | parameters_{createTypeParameters(children_)} {} |
| 596 | |
| 597 | bool FunctionType::equivalent(const Type& other) const { |
| 598 | if (&other == this) { |
nothing calls this directly
no test coverage detected