Open pcaversaccio opened 1 month ago
We should improve the error message if log is used (reserved due to events):
log
interface Console: def log(str: String[400], x: uint256): view
invalid syntax (<unknown>, line 21) line 21:9 20 interface Console: ---> 21 def log(str: String[400], x: uint256): view -----------------^ 22
Something like this would be better:
invalid syntax: `log` is a reserved keyword used for events.
We should improve the error message if
log
is used (reserved due to events):Something like this would be better: