moved the (hint: ...) to be reported as the last item to improve the readability
the hint should be displayed after the actual problem has been described, ie, as the last item
example:
original:
vyper.exceptions.InvalidOperation: Cannot perform decimal division on uint256
(hint: did you mean `10 // 4`?)
contract "tests/custom/test.vy:3", function "f", line 3:17
2 def f(x: Bytes[32*5]):
---> 3 k: uint256 = 10 / 4
------------------------^
new order:
vyper.exceptions.InvalidOperation: Cannot perform decimal division on uint256
contract "tests/custom/test.vy:3", function "f", line 3:17
2 def f(x: Bytes[32*5]):
---> 3 k: uint256 = 10 / 4
------------------------^
(hint: did you mean `10 // 4`?)
edit: fix the example
How to verify it
Commit message
Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)
Description for the changelog
Cute Animal Picture
![Put a link to a cute animal picture inside the parenthesis-->]()
What I did
(hint: ...)
to be reported as the last item to improve the readabilityexample:
original:
new order:
edit: fix the example
How to verify it
Commit message
Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)
Description for the changelog
Cute Animal Picture
![Put a link to a cute animal picture inside the parenthesis-->]()