Implemented generic for loops
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -26,7 +26,8 @@ namespace Porygon::Diagnostics {
|
||||
InvalidTypeName,
|
||||
UserDataFieldNoGetter,
|
||||
UserDataFieldNoSetter,
|
||||
NumericalForArgumentNotANumber
|
||||
NumericalForArgumentNotANumber,
|
||||
CantIterateExpression
|
||||
};
|
||||
}
|
||||
#endif //PORYGONLANG_DIAGNOSTICCODE_HPP
|
||||
|
||||
@@ -69,6 +69,7 @@ std::string SeverityToString(DiagnosticSeverity s){
|
||||
case DiagnosticSeverity::Info: return "Info";
|
||||
case DiagnosticSeverity::Warning: return "Warning";
|
||||
case DiagnosticSeverity::Error: return "Error";
|
||||
default: throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user