mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3640 from AnthonyBroadCrawford/spanning-multiline-message-fix
moved spanning multi lines message to appear on some lane vs new line…
This commit is contained in:
commit
9d67e9b4fc
@ -13,6 +13,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