| 257 | } |
| 258 | |
| 259 | std::tuple<experimental::Type, experimental::Type> TypeSystemHelpers::destTypeFunctionType(Type _functionType) const |
| 260 | { |
| 261 | auto [constructor, arguments] = destTypeConstant(_functionType); |
| 262 | solAssert(constructor == typeSystem.constructor(PrimitiveType::TypeFunction)); |
| 263 | solAssert(arguments.size() == 2); |
| 264 | return std::make_tuple(arguments.front(), arguments.back()); |
| 265 | } |
| 266 | |
| 267 | bool TypeSystemHelpers::isTypeFunctionType(Type _type) const |
| 268 | { |
no test coverage detected