Make the message about name not referring to a user-defined type more generic

This commit is contained in:
wechman
2022-11-04 08:46:53 +01:00
committed by Nikola Matic
parent c297183467
commit d5428af5bb
13 changed files with 13 additions and 13 deletions
@@ -2,4 +2,4 @@ contract C {
function ( uint ) external returns ( a [ ] calldata ) public a = ( 1 / 2 ) ;
}
// ----
// TypeError 5172: (58-59): Name has to refer to a struct, enum or contract.
// TypeError 5172: (58-59): Name has to refer to a user-defined type.