JSAbrahams / mamba

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

Identify type unions in Python files with type annotations #175

Closed JSAbrahams closed 2 years ago

JSAbrahams commented 4 years ago

Current Issue

Type unions are ignored.

High-level description of the features

from typing import union

a: Union[int, str] = 10

should be imported into the context as a variable a with a union of Int and String.

Description of potential implementation

Identify type unions and use these when importing Python files.

JSAbrahams commented 2 years ago

This has been implemented