Solve constraints together and in the order they are added (#360)
* Solve named argument constraints when record type dereferencing fails * Revert "Solve named argument constraints when record type dereferencing fails" This reverts commit ca38a171a9eefdddbc3f6a41f8a268c42662cd7a. * Solve constraints together and in order * Fix dialyzer warnings * Add comment on solve_known_record_types * Remove unused function
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
contract interface Coin =
|
||||
entrypoint mint : () => int
|
||||
|
||||
contract interface OtherCoin =
|
||||
entrypoint mint : () => int
|
||||
|
||||
main contract Main =
|
||||
function mkCoin() : Coin = ct_11111111111111111111111111111115rHyByZ
|
||||
entrypoint foo() : int =
|
||||
let r = mkCoin()
|
||||
r.mint()
|
||||
Reference in New Issue
Block a user