Skip to content

Determine a better way of handling function calls with split typed arguments. #5

@github-actions

Description

@github-actions

Determine a better way of handling function calls with split typed arguments.

// TODO: Determine a better way of handling function calls with split typed arguments.

        return executeMethod.Invoke(invokable, invokeParams);
    }

    // TODO: Determine a better way of handling function calls with split typed arguments.
    private static int Order(Type t)
    {
        return t.Name switch
        {
            "Int32" => 1,
            "Decimal" => 2,
            "String" => 3,
            _ => 0
        };
    }
}
imilarity index 100%
ename from Compo/Core/ParseResult.cs
ename to src/Compo/Core/ParseResult.cs
imilarity index 100%
ename from Compo/Functions/Math/AbsFunction.cs
ename to src/Compo/Functions/Math/AbsFunction.cs
imilarity index 100%
ename from Compo/Functions/Math/AddFunction.cs
ename to src/Compo/Functions/Math/AddFunction.cs
ew file mode 100644
ndex 0000000..adf489c
++ b/src/Compo/Functions/Math/DivFunction.cs

55592d64d6613dae18025104c4b7b6069dcf56b7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions