aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorD-Nice <D-Nice@users.noreply.github.com>2018-06-25 22:26:44 +0800
committerD-Nice <D-Nice@users.noreply.github.com>2018-06-25 23:14:19 +0800
commitb2f0d1db43de5db4e5f6559d2d6d4f4db1039a36 (patch)
treee6c2532ceb78d982240f46fb0fec469180d65bd9 /libsolidity
parentb7003505c46942ca2ee4e5317d14f421d5b9bc6d (diff)
downloaddexon-solidity-b2f0d1db43de5db4e5f6559d2d6d4f4db1039a36.tar.gz
dexon-solidity-b2f0d1db43de5db4e5f6559d2d6d4f4db1039a36.tar.zst
dexon-solidity-b2f0d1db43de5db4e5f6559d2d6d4f4db1039a36.zip
Fixes storage ref var typo error from 'prefix' to 'suffix'
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/analysis/TypeChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp
index 19e931f2..e89ce27a 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -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)