Update message of TypeError 5172

This commit is contained in:
wechman
2022-09-28 13:06:25 +02:00
parent c6ad99c3b1
commit e001f8346b
15 changed files with 33 additions and 17 deletions
@@ -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 value type, struct, enum or contract.
@@ -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 value type, struct, enum or contract.