Commits

gregomni committed 545a3f913de
[SR-832][Sema] Fix for function type args passed to @autoclosure params Passing a function type to an @autoclosure param would always fail to type check because of the attempt to decompose the parallel structure of the two (both being functions). In this case, though, we don’t want to do any such thing, we want to allow the ExprRewriter to explicitly insert an AutoClosureExpr in coerceToType, as it would do with any other non-function arg type.