[#793] Extended typechecking
Description
Let typechecking work on untyped instructions based not only on ExpandedOp
.
My use case - debugger, where I need to attach meta coming from Expression
to Typed.Instr
via Meta
constructor.
TODOs:
-
Add a test after !1118 (merged) is merged -
Wait for #785Workarounded this -
Great renaming after the first round of review -
typeCheckOpImpl
→typeCheckExpandedOp
- All typechecking functions polymorphic over
op
- replaceimpl
andimplFinal
suffix with tick, like we do in types (e.g.Contract'
andValue'
).
-
Related issue(s)
Resolves #793 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Konstantin Ivanov