Fixes storage ref var typo error from 'prefix' to 'suffix'

This commit is contained in:
D-Nice 2018-06-25 10:26:44 -04:00
parent b7003505c4
commit b2f0d1db43

View File

@ -929,7 +929,7 @@ bool TypeChecker::visit(InlineAssembly const& _inlineAssembly)
} }
else if (var->type()->dataStoredIn(DataLocation::Storage)) else if (var->type()->dataStoredIn(DataLocation::Storage))
{ {
m_errorReporter.typeError(_identifier.location, "You have to use the _slot or _offset prefix to access storage reference variables."); m_errorReporter.typeError(_identifier.location, "You have to use the _slot or _offset suffix to access storage reference variables.");
return size_t(-1); return size_t(-1);
} }
else if (var->type()->sizeOnStack() != 1) else if (var->type()->sizeOnStack() != 1)