Handling for type checking parameters of internal functions
This commit is contained in:
@@ -24,9 +24,9 @@ namespace Upsilon.BaseTypes.ScriptFunction
|
||||
private readonly bool _passScriptReference;
|
||||
public System.Type ReturnType { get; }
|
||||
|
||||
public IEnumerable<System.Type> GetParameterTypes()
|
||||
public IEnumerable<UserDataMethod.UserDataMethodParameter> GetParameterInfo()
|
||||
{
|
||||
return _method.GetMethods().First().Parameters.Select(x => x.Type);
|
||||
return _method.GetMethods().First().Parameters;
|
||||
}
|
||||
|
||||
public override ScriptType Run(Diagnostics diagnostics, ScriptType[] variables, Script script)
|
||||
|
||||
Reference in New Issue
Block a user