mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Updated tests.
This commit is contained in:
parent
de01822999
commit
42c8310a63
@ -36,7 +36,7 @@ contract C {
|
||||
// "outputs":
|
||||
// [
|
||||
// {
|
||||
// "internalType": "user defined type MyAddress",
|
||||
// "internalType": "user defined type C.MyAddress",
|
||||
// "name": "",
|
||||
// "type": "address"
|
||||
// }
|
||||
@ -64,7 +64,7 @@ contract C {
|
||||
// "outputs":
|
||||
// [
|
||||
// {
|
||||
// "internalType": "user defined type MyBytes32",
|
||||
// "internalType": "user defined type C.MyBytes32",
|
||||
// "name": "",
|
||||
// "type": "bytes32"
|
||||
// }
|
||||
@ -92,7 +92,7 @@ contract C {
|
||||
// "outputs":
|
||||
// [
|
||||
// {
|
||||
// "internalType": "user defined type MyUInt8",
|
||||
// "internalType": "user defined type C.MyUInt8",
|
||||
// "name": "",
|
||||
// "type": "uint8"
|
||||
// }
|
||||
@ -104,7 +104,7 @@ contract C {
|
||||
// "inputs":
|
||||
// [
|
||||
// {
|
||||
// "internalType": "user defined type MyAddress",
|
||||
// "internalType": "user defined type C.MyAddress",
|
||||
// "name": "a",
|
||||
// "type": "address"
|
||||
// }
|
||||
@ -132,7 +132,7 @@ contract C {
|
||||
// "inputs":
|
||||
// [
|
||||
// {
|
||||
// "internalType": "user defined type MyBytes32",
|
||||
// "internalType": "user defined type C.MyBytes32",
|
||||
// "name": "a",
|
||||
// "type": "bytes32"
|
||||
// }
|
||||
@ -160,7 +160,7 @@ contract C {
|
||||
// "inputs":
|
||||
// [
|
||||
// {
|
||||
// "internalType": "user defined type MyUInt8",
|
||||
// "internalType": "user defined type C.MyUInt8",
|
||||
// "name": "a",
|
||||
// "type": "uint8"
|
||||
// }
|
||||
|
@ -269,7 +269,7 @@
|
||||
"typeDescriptions":
|
||||
{
|
||||
"typeIdentifier": "t_mapping$_t_userDefinedValueType$_MyAddress_$18_$_t_userDefinedValueType$_MyUInt_$20_$",
|
||||
"typeString": "mapping(user defined type MyAddress => user defined type MyUInt)"
|
||||
"typeString": "mapping(user defined type C.MyAddress => user defined type C.MyUInt)"
|
||||
},
|
||||
"typeName":
|
||||
{
|
||||
@ -291,7 +291,7 @@
|
||||
"typeDescriptions":
|
||||
{
|
||||
"typeIdentifier": "t_userDefinedValueType$_MyAddress_$18",
|
||||
"typeString": "user defined type MyAddress"
|
||||
"typeString": "user defined type C.MyAddress"
|
||||
}
|
||||
},
|
||||
"nodeType": "Mapping",
|
||||
@ -299,7 +299,7 @@
|
||||
"typeDescriptions":
|
||||
{
|
||||
"typeIdentifier": "t_mapping$_t_userDefinedValueType$_MyAddress_$18_$_t_userDefinedValueType$_MyUInt_$20_$",
|
||||
"typeString": "mapping(user defined type MyAddress => user defined type MyUInt)"
|
||||
"typeString": "mapping(user defined type C.MyAddress => user defined type C.MyUInt)"
|
||||
},
|
||||
"valueType":
|
||||
{
|
||||
@ -318,7 +318,7 @@
|
||||
"typeDescriptions":
|
||||
{
|
||||
"typeIdentifier": "t_userDefinedValueType$_MyUInt_$20",
|
||||
"typeString": "user defined type MyUInt"
|
||||
"typeString": "user defined type C.MyUInt"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -5,4 +5,4 @@ contract D
|
||||
C.T x = L.T.wrap(uint(1));
|
||||
}
|
||||
// ----
|
||||
// TypeError 7407: (86-103): Type user defined type T is not implicitly convertible to expected type user defined type T.
|
||||
// TypeError 7407: (86-103): Type user defined type L.T is not implicitly convertible to expected type user defined type C.T.
|
||||
|
Loading…
Reference in New Issue
Block a user