Allow calling a different instance of the current contract #870
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "ghallak/301"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes: #301, Fixes: #380
Created by: hanssv
Looks promising - test failing?
The tests are failing because of this https://gitlab.com/gajumaristas/aesophia/-/issues/380 which I'm working on fixing in this PR as well.
Created by: hanssv
Review: Dismissed
Looks good!
Maybet add an update to the CHANGELOG?
@hanssv I have updated the CHANGELOG here d84960274caca96e7b45c66870e3322c81aa6612
Created by: radrow
Ability? Possibility doesn't fit here imo
Created by: radrow
Created by: radrow
these could be separate functions
Created by: radrow
Do you really need to rebind it? I would expect the "untyped" version to unify to the final "typed" representation anyway. Do you check if they match?
Done here d11e471bc2718356401a0444f5ae38ecaf3165be
If I don't rebind, the cases with type aliases will fail, since they are only replaced during the type inference.
Done here dba72071120f798a6174e64e286df0a0e828913c
Created by: radrow
Could you give me some example? I also wonder if this could be hacked around somehow (that is, so both versions don't really match)
This is one example:
The problem here is that the type of the arguments in the
fun_update_i
function declaration is set torstate
before the type inference and toRemote.rstate
after the type inference (because the qualifications are added during type inference).Binding the fields only before the type inference, would cause an error that the types
rstate
andRemote.rstate
cannot be unified.I can't currently think of a solution for this, so I may add a comment about it and maybe it can be handled later, unless you can think of a solution for this?
Created by: radrow
Maybe forcefully qualify all the types at every opportunity, so there is always
Remote.rstate
?Created by: radrow
Review: Approved
Created by: hanssv
Review: Approved
Merged by: ghallak at 2022-10-23 12:01:29 UTC