Fix internal function variables not binding properly when allowing all objects
This commit is contained in:
parent
aa2539ad20
commit
29818dad31
|
@ -41,6 +41,8 @@ namespace Upsilon.Binder.VariableSymbols
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (functionParameter.ValidTypes == Type.Unknown)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!functionParameter.ValidTypes.Type.HasFlag(callingParameter.Type))
|
if (!functionParameter.ValidTypes.Type.HasFlag(callingParameter.Type))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue