Merge branch 'refactor-sourcelocation' of https://github.com/a3d4/solidity into refactor-sourcelocation

This commit is contained in:
alex 2020-02-03 21:40:41 +01:00
commit 351c39efb5

View File

@ -72,10 +72,11 @@ struct SourceLocation
bool hasText() const
{
return source
&& 0 <= start
&& start <= end
&& end <= int(source->source().length());
return
source &&
0 <= start &&
start <= end &&
end <= int(source->source().length());
}
std::string text() const