Works around Swift 2.1 compiler bug.
Works around Swift 2.1 compiler bug.

Swift 2.1 crashes when dealing with nested functions using generics.

--
MOS_MIGRATED_REVID=119858144

pinterest/tulsi,bazelbuild/tulsi,bazelbuild/tulsi,bazelbuild/tulsi,bazelbuild/tulsi,bazelbuild/tulsi,pinterest/tulsi,bazelbuild/tulsi,pinterest/tulsi,pinterest/tulsi,pinterest/tulsi,pinterest/tulsi