[nem-en] Type standalone "type expressions"

Michal Moskal michal.moskal at gmail.com
Sat Jan 20 09:36:34 CET 2007


On 1/19/07, vc <vc at rsdn.ru> wrote:
> Hi,
>
> For implement completion of type and interface reference I need method which
> can type standalone type expressions. It method must receive GlobalEnv and
> PExpr (which contain type reference expression) and return TypeInfo or MType
> corresponded to given expression.

You can use TypeBuilder.MonoBindType. You need a type builder to be
able to bind type variables correctly. It also stores the global env.

-- 
   Michał


More information about the devel-en mailing list