Skip to content
Snippets Groups Projects
  1. Oct 22, 2022
    • belazy's avatar
      Resolve "Type-checker doesn't use the global context" ✨️ · d7d96b17
      belazy authored and v-lafeychine's avatar v-lafeychine committed
      Closes #17 🐔️👍️
      Approved-by: default avatarbelazy <aarthuur01@gmail.com>
      Approved-by: default avatarloutr <loutr@crans.org>
      Approved-by: default avataraalbert <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`
      d7d96b17
Loading