| 40 | } |
| 41 | |
| 42 | InternalError::InternalError(const Token *tok, std::string errorMsg, Type type) : |
| 43 | InternalError(tok, std::move(errorMsg), "", type) |
| 44 | {} |
| 45 | |
| 46 | InternalError::InternalError(const Token *tok, std::string errorMsg, std::string details, Type type) : |
| 47 | token(tok), errorMessage(std::move(errorMsg)), details(std::move(details)), type(type), id(typeToString(type)) |
nothing calls this directly
no test coverage detected