JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
88 stars 4 forks source link

Treat alias in with resource as def #267

Closed JSAbrahams closed 2 years ago

JSAbrahams commented 2 years ago

Relevant issues

Closes #264

Summary

A type alias is now treated as a variable declaration. It is added to the environment as opposed to checking that the environment contains said variable.

Added Tests

codecov[bot] commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@94a258a). Click here to learn what that means. The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #267   +/-   ##
==========================================
  Coverage           ?   83.94%           
==========================================
  Files              ?       99           
  Lines              ?     9585           
  Branches           ?        0           
==========================================
  Hits               ?     8046           
  Misses             ?     1539           
  Partials           ?        0           

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more