[nem-en] Type inference in completion

Michal Moskal michal.moskal at gmail.com
Thu May 3 15:41:42 CEST 2007


On 5/3/07, Kamil Skalski <kamil.skalski at gmail.com> wrote:
> I'm not sure... maybe it will be necessary to add special kind of
> delyed typing to public class DelayedTyping  (in Typer-DelayedTyping)
> or extend existing MemberAccess { expr : TExpr; name : PT.Name; } one.
> This however requires handling this additional node in the whole
> complex logic of this file.

I guess the right thing to do would be to replace PT.Name in
MemberAccess with Splicable and then handle HalfId by sending the name
and for_completion=true to Typer.TypeMember(). It should then return a
list of overloads, that you can just intercept.

Sorry for the late reply...


-- 
   Michał


More information about the devel-en mailing list