web3.swift
web3.swift copied to clipboard
Cannot inherit from non-open class 'ERC165' outside of its defining module
I want to inherit ERC165 for creating ERC1155 class but got this error in my app.
public class ERC1155: ERC165 {} // <- Error line
I don't see a reason to get an error by inheritting ERC165
. Could you please share the error you got?
It restricted from inheriting because of public
tag.
Error I got: Cannot inherit from non-open class 'ERC165' outside of its defining module
@dnKaratzas
I thought you wanted to edit the package. @DarthMike should we make the classes open for inheritance?
@dnKaratzas happy to make open, no problem
Fixed in #265