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
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user