Exemplo n.º 1
0
        public static object GenFxyCall(FuncDef fd, object a, object b)
        {
            ValueKind kind = OPs.MaxKindOf(a, b);

            if (fd.resultCanBeLazy)
            {
                kind = ValueKind.Async;
            }
            else if (kind == ValueKind.Const && fd.isNotPure)
            {
                kind = ValueKind.Sync;
            }
            return(GenFxyCall((Fxy)fd.func, a, b, kind, fd.resultCanBeLazy));
        }