flix / flix

The Flix Programming Language
https://flix.dev/
Other
2.17k stars 154 forks source link

Improve `MagicCompleter` #9118

Open magnus-madsen opened 2 days ago

magnus-madsen commented 2 days ago

We want to be able to support e.g.:

enum Foo {
    case Bar,
    case Baz,
    case Quix(String)
}

def f(): Foo = Foo.Bar

def b(www: Foo): Unit = f().ma

We probably need to at least:

magnus-madsen commented 2 days ago

@stormckey I wrote some thoughts.