mys-lang / mys

The Mys programming language - an attempt to create a statically typed Python-like language that produces fast binaries. See https://mys-lang.org for more information.
Other
132 stars 5 forks source link

Trait as chosen type in generic does not work #22

Open eerimoq opened 3 years ago

eerimoq commented 3 years ago
from queue import Queue

@trait
class Message:
    pass

def main():
    queue = Queue[Message]()