Skip to content

Commit

Permalink
Fixed the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachBray committed Oct 29, 2014
1 parent eff7428 commit 26f7922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/FunScript/CommonOperators.fs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ let private coerce =
if expr.Type = t
|| t = typeof<obj>
|| (expr.Type.IsInterface && t.IsAssignableFrom expr.Type)
|| t.GetGenericTypeDefinition() = typedefof<_ System.Collections.Generic.IList> then
|| (t.IsGenericType && t.GetGenericTypeDefinition() = typedefof<_ System.Collections.Generic.IList>) then
compiler.Compile returnStrategy expr
elif t.IsInterface then
let actualType = expr.Type
Expand Down

0 comments on commit 26f7922

Please sign in to comment.