diff --git a/vyper/semantics/types/base.py b/vyper/semantics/types/base.py index 128ede0d5bc..f7bf7d50e5f 100644 --- a/vyper/semantics/types/base.py +++ b/vyper/semantics/types/base.py @@ -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):