You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
m_errorReporter.typeError(6252_error, _identifier.debugData->location, "Constant variables cannot be assigned to.");
799
+
m_errorReporter.typeError(6252_error, irLocationOf(_identifier), "Constant variables cannot be assigned to.");
800
800
returnfalse;
801
801
}
802
802
elseif (!identifierInfo.suffix.empty())
803
803
{
804
-
m_errorReporter.typeError(6617_error, _identifier.debugData->location, "The suffixes .offset and .slot can only be used on non-constant storage variables.");
804
+
m_errorReporter.typeError(6617_error, irLocationOf(_identifier), "The suffixes .offset and .slot can only be used on non-constant storage variables.");
m_errorReporter.typeError(7615_error, _identifier.debugData->location, "Only direct number constants and references to such constants are supported by inline assembly.");
821
+
m_errorReporter.typeError(7615_error, irLocationOf(_identifier), "Only direct number constants and references to such constants are supported by inline assembly.");
m_errorReporter.typeError(9068_error, _identifier.debugData->location, "You have to use the \".slot\" or \".offset\" suffix to access storage reference variables.");
881
+
m_errorReporter.typeError(9068_error, irLocationOf(_identifier), "You have to use the \".slot\" or \".offset\" suffix to access storage reference variables.");
m_errorReporter.typeError(1397_error, _identifier.debugData->location, "Call data elements cannot be accessed directly. Use \".offset\" and \".length\" to access the calldata offset and length of this array and then use \"calldatacopy\".");
890
+
m_errorReporter.typeError(1397_error, irLocationOf(_identifier), "Call data elements cannot be accessed directly. Use \".offset\" and \".length\" to access the calldata offset and length of this array and then use \"calldatacopy\".");
m_errorReporter.typeError(9857_error, _identifier.debugData->location, "Only types that use one stack slot are supported.");
894
+
m_errorReporter.typeError(9857_error, irLocationOf(_identifier), "Only types that use one stack slot are supported.");
895
895
}
896
896
returnfalse;
897
897
}
898
898
}
899
899
elseif (!identifierInfo.suffix.empty())
900
900
{
901
-
m_errorReporter.typeError(7944_error, _identifier.debugData->location, "The suffixes \".offset\", \".slot\" and \".length\" can only be used with variables.");
901
+
m_errorReporter.typeError(7944_error, irLocationOf(_identifier), "The suffixes \".offset\", \".slot\" and \".length\" can only be used with variables.");
0 commit comments