| 239 | } |
| 240 | |
| 241 | std::tuple<experimental::Type, experimental::Type> TypeSystemHelpers::destFunctionType(Type _functionType) const |
| 242 | { |
| 243 | auto [constructor, arguments] = destTypeConstant(_functionType); |
| 244 | solAssert(constructor == typeSystem.constructor(PrimitiveType::Function)); |
| 245 | solAssert(arguments.size() == 2); |
| 246 | return std::make_tuple(arguments.front(), arguments.back()); |
| 247 | } |
| 248 | |
| 249 | bool TypeSystemHelpers::isFunctionType(Type _type) const |
| 250 | { |
no test coverage detected