| 226 | } |
| 227 | |
| 228 | bool TypeSystemHelpers::isPrimitiveType(Type _type, PrimitiveType _primitiveType) const |
| 229 | { |
| 230 | if (!isTypeConstant(_type)) |
| 231 | return false; |
| 232 | auto constructor = std::get<0>(destTypeConstant(_type)); |
| 233 | return constructor == typeSystem.constructor(_primitiveType); |
| 234 | } |
| 235 | |
| 236 | experimental::Type TypeSystemHelpers::functionType(experimental::Type _argType, experimental::Type _resultType) const |
| 237 | { |