Skip to content

Commit

Permalink
fixed compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Mar 12, 2020
1 parent ff992b4 commit 33b917a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal static bool DoesTypeApply(IType typeCondition, INamedType current)
{
if (current is ObjectType cot)
{
return cot.Interfaces.ContainsKey(it.Name);
return cot.IsAssignableFrom(it);
}

if (current is InterfaceType cit)
Expand Down

0 comments on commit 33b917a

Please sign in to comment.