patrick
/
plasp
Archived
1
0
Fork 0

Fixed typo.

This commit is contained in:
Patrick Lühne 2016-06-08 01:12:29 +02:00
parent 9b3f78559e
commit 32883910bb
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ void Variable::parseTypedDeclarations(Context &context, ExpressionContext &expre
const auto typingDeclared = expressionContext.domain.hasRequirement(Requirement::Type::Typing);
if (!typingUsed && typingDeclared)
throw utils::ParserException(context.parser, "Object has undeclared type");
throw utils::ParserException(context.parser, "Variable has undeclared type");
if (typingUsed && !typingDeclared)
throw utils::ParserException(context.parser, "Typing used but not declared as a requirement");