Merge pull request #4352 from D-Nice/develop

Fixes storage ref var typo error from 'prefix' to 'suffix'
This commit is contained in:
chriseth
2018-06-29 12:27:29 +02:00
committed by GitHub
3 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -929,7 +929,7 @@ bool TypeChecker::visit(InlineAssembly const& _inlineAssembly)
}
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);
}
else if (var->type()->sizeOnStack() != 1)