mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make the message about name not referring to a user-defined type more generic
This commit is contained in:
+1
-1
@@ -17,4 +17,4 @@ contract C {
|
||||
// Warning 2519: (207-226): This declaration shadows an existing declaration.
|
||||
// Warning 2519: (228-254): This declaration shadows an existing declaration.
|
||||
// Warning 2519: (314-327): This declaration shadows an existing declaration.
|
||||
// TypeError 5172: (104-114): Name has to refer to a struct, enum or contract.
|
||||
// TypeError 5172: (104-114): Name has to refer to a user-defined type.
|
||||
|
||||
+1
-1
@@ -17,4 +17,4 @@ contract C {
|
||||
// Warning 2519: (249-268): This declaration shadows an existing declaration.
|
||||
// Warning 2519: (270-296): This declaration shadows an existing declaration.
|
||||
// Warning 2519: (317-330): This declaration shadows an existing declaration.
|
||||
// TypeError 5172: (124-134): Name has to refer to a struct, enum or contract.
|
||||
// TypeError 5172: (124-134): Name has to refer to a user-defined type.
|
||||
|
||||
Reference in New Issue
Block a user