Fix internal function variables not binding properly when allowing all objects

This commit is contained in:
Deukhoofd committed 2019-01-23 11:54:35 +01:00
1 parent aa2539ad20
commit 29818dad31
1 file changed
+2
@@ -41,6 +41,8 @@ namespace Upsilon.Binder.VariableSymbols
{
continue;
}
if (functionParameter.ValidTypes == Type.Unknown)
continue;
if (!functionParameter.ValidTypes.Type.HasFlag(callingParameter.Type))
{