Skip to content

Commit

Permalink
improve a panic message
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed May 1, 2024
1 parent 7d28a50 commit f5626e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/semantics/types/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def abi_type(self) -> ABIType:
"""
The ABI type corresponding to this type
"""
raise CompilerPanic("Method must be implemented by the inherited class")
raise CompilerPanic(f"unimplemented method: `abi_type` (`{self}`)")

def get_size_in(self, location: DataLocation):
if location in (DataLocation.STORAGE, DataLocation.TRANSIENT):
Expand Down

0 comments on commit f5626e4

Please sign in to comment.