Merge pull request #11956 from ethereum/userDefinedTypesContractAccess

Allow accessing user defined value type members via contract name.
This commit is contained in:
Daniel Kirchner
2021-09-14 17:14:04 +02:00
committed by GitHub
4 changed files with 42 additions and 0 deletions
+1
View File
@@ -751,6 +751,7 @@ public:
Type const* type() const override;
TypeName const* underlyingType() const { return m_underlyingType.get(); }
bool isVisibleViaContractTypeAccess() const override { return true; }
private:
/// The name of the underlying type