JSAbrahams / mamba

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

Build typing context #157

Closed JSAbrahams closed 5 years ago

JSAbrahams commented 5 years ago

Relevant issues

We need a context with all the classes of an application to be able type check our application.

In future, we need to include classes of imported Python files as well.

Summary

A typing context has all the relevant types, functions, and fields of the current application.

Added Tests

Rewrite current tests to use new Position struct

JSAbrahams commented 5 years ago

Should add some extra tests before merging