@@ -82,6 +82,8 @@ type GeneratorFactory(typeBldr:TypeBuilder) =
8282 new SimpleLogicGenerator( context, typeBldr, arg_ a, arg_ b, OpCodes.Clt, this) :> IGenerator
8383 | Atom ( Symbol " >" ) :: arg_ a :: arg_ b :: [] ->
8484 new SimpleLogicGenerator( context, typeBldr, arg_ a, arg_ b, OpCodes.Cgt, this) :> IGenerator
85+ | Atom ( Symbol " call" ) :: Atom ( Symbol fname) :: instance :: args ->
86+ new InstanceCallGenerator( context, typeBldr, instance, fname, args, this) :> IGenerator
8587 | Atom ( Symbol fname) :: args -> //generic funcall pattern
8688 let tryGetType typeName =
8789 try Some ( context.types.[ typeName]) with
@@ -104,7 +106,7 @@ type GeneratorFactory(typeBldr:TypeBuilder) =
104106 let methodName = callMatch.Groups.[ 2 ]. Value
105107 new ClrCallGenerator( context, typeBldr, clrType, methodName, args, this) :> IGenerator
106108 else
107- new FunCallGenerator( context, typeBldr, fname, args, this) :> IGenerator
109+ new FunCallGenerator( context, typeBldr, fname, args, this) :> IGenerator
108110 | _ -> failwithf " Form %A is not supported yet" list
109111
110112 member private this.makeSequenceGenerator ( context : Context , seq : SExp list ) =
0 commit comments