Draco-lang / Compiler

The compiler repository for the Draco programming language.
Apache License 2.0
74 stars 9 forks source link

Overload constraint should consider the candidates.Length == 0 case #305

Closed LPeter1997 closed 10 months ago

LPeter1997 commented 10 months ago

Currently we infer the function name from the first candidate. This is potentially wrong and causes langserver crashes. We could just pass the name from call-site.