Resolve "Type-checker doesn't use the global context" ✨️
Closes #17 🐔️👍️ Approved-by:belazy <aarthuur01@gmail.com> Approved-by:
loutr <loutr@crans.org> Approved-by:
aalbert <augustin.albert@bleu-azure.fr> 🦀️
🍰 🦀️🍰 🦀️🍰 * chore: misc * chore : add test coverage * chore(kernel): Reduce code complexity * fix(kernel): Made Context mutable * fix(kernel): Made type_checker.rs full of reference * fix(kernel): Made term.rs full of reference * fix(kernel): Use of reference * Apply 1 suggestion(s) to 1 file(s) * Fix : refer to #19 * Apply 1 suggestion(s) to 1 file(s) * Apply 1 suggestion(s) to 1 file(s) * Apply 1 suggestion(s) to 1 file(s) * Fix : remove unused trait * Fix : apply suggestion * Fix : use Self in impl * Apply 1 suggestion(s) to 1 file(s) * Apply 1 suggestion(s) to 1 file(s) * Apply 1 suggestion(s) to 1 file(s) * Apply 1 suggestion(s) to 1 file(s) * Apply 1 suggestion(s) to 1 file(s) * Chore: use `Environment::new()` instead of `Default::default()` * Chore : add documentation * Chore : expand tests coverage * Revert "Feat : parse Constants" This reverts commit 0618fd79. * Feat : move `Environment` to respective file * Feat : add test for Env use during typechecking * Feat : parse Constants * Feat : use `Environment` during type-checking/inference * Feat : add `GlobalContext`
parent
ff5b19f3
No related branches found
No related tags found
Pipeline
#10919
failed
with stages
in
6 minutes and 34 seconds
Stage: check
Stage: build
Stage: tests