mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Improved messaging when an error spans multiple lines and updated change log file.
This commit is contained in:
parent
7e2f3d3e07
commit
174c46d5af
@ -10,6 +10,7 @@ Features:
|
||||
* Syntax Checker: Mark ``throw`` as an error as experimental 0.5.0 feature.
|
||||
* Syntax Checker: Issue error if no visibility is specified on contract functions as experimental 0.5.0 feature.
|
||||
* Type Checker: disallow combining hex numbers and unit denominations as experimental 0.5.0 feature.
|
||||
* Improved messaging when error spans multiple lines of a sourcefile
|
||||
|
||||
Bugfixes:
|
||||
* Assembly: Raise error on oversized number literals in assembly.
|
||||
|
@ -79,8 +79,8 @@ void SourceReferenceFormatter::printSourceLocation(SourceLocation const* _locati
|
||||
scanner.lineAtPosition(_location->start) <<
|
||||
endl <<
|
||||
string(startColumn, ' ') <<
|
||||
"^\n" <<
|
||||
"Spanning multiple lines.\n";
|
||||
"^ (Relevant source part starts here and spans across multiple lines)." <<
|
||||
endl;
|
||||
}
|
||||
|
||||
void SourceReferenceFormatter::printSourceName(SourceLocation const* _location)
|
||||
|
Loading…
Reference in New Issue
Block a user