Add test for void supertype
This commit is contained in:
parent
04e1c94bae
commit
2374b06734
@ -203,6 +203,7 @@ compilable_contracts() ->
|
|||||||
"polymorphism_contract_interface_same_decl_multi_interface",
|
"polymorphism_contract_interface_same_decl_multi_interface",
|
||||||
"polymorphism_contract_interface_same_name_same_type",
|
"polymorphism_contract_interface_same_name_same_type",
|
||||||
"polymorphism_variance_switching_chain_create",
|
"polymorphism_variance_switching_chain_create",
|
||||||
|
"polymorphism_variance_switching_void_supertype",
|
||||||
"missing_init_fun_state_unit",
|
"missing_init_fun_state_unit",
|
||||||
"complex_compare_leq",
|
"complex_compare_leq",
|
||||||
"complex_compare",
|
"complex_compare",
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
payable contract interface SalesOffer =
|
||||||
|
entrypoint init : (address, address, int, int) => void
|
||||||
|
|
||||||
|
payable contract Test : SalesOffer =
|
||||||
|
entrypoint init(_ : address, _ : address, _ : int, _ : int) = ()
|
Loading…
x
Reference in New Issue
Block a user