https://gitlab.com/nomadic-labs/mi-cho-coq
Revision b42ae25a9bbb1ce79b1ddc9762c16f07b41a7756 authored by Raphaël Cauderlier on 28 June 2019, 13:31:40 UTC, committed by Raphaël Cauderlier on 22 October 2019, 14:18:32 UTC
When type-checking the code literal of a smart contract originated
from Michelson, we have to be cautious to use the self type of the
contract being originated instead of the contract doing the
origination.

For this reason, we cannot have `self_type` as a parameter of the
inductive type for instructions but it needs to be an index.

However, SELF is forbidden inside lambdas in Michelson so we do not
have to care about typing the SELF instruction in lambdas.
1 parent 4b53f52
History
Tip revision: b42ae25a9bbb1ce79b1ddc9762c16f07b41a7756 authored by Raphaël Cauderlier on 28 June 2019, 13:31:40 UTC
Fix a typing bug occurring when SELF was used in a Michelson origination
Tip revision: b42ae25
File Mode Size
doc
scripts
src
.gitignore -rw-r--r-- 276 bytes
.gitlab-ci.yml -rw-r--r-- 667 bytes
LICENSE -rw-r--r-- 1.1 KB
README.org -rw-r--r-- 8.5 KB
_CoqProject -rw-r--r-- 4 bytes
configure -rwxr-xr-x 1.6 KB
mi-cho-coq.opam -rw-r--r-- 866 bytes

README.org

back to top