[test] Add type annotations to Algorithm.swift.gyb.
[test] Add type annotations to Algorithm.swift.gyb.

This cuts the compile time from four minutes to two with a debug compiler.
However, two minutes is still a long time, even with quite a bit of AST and
SIL to verify, so it may still be worthwhile to figure out what's going on.
(The test itself takes another minute to run on my machine.)

No intended functionality change.

Swift SVN r28147

MukeshKumarS/Swift,atrick/swift,MukeshKumarS/Swift,swiftix/swift,jopamer/swift,benlangmuir/swift,ben-ng/swift,KrishMunot/swift,uasys/swift,practicalswift/swift,shahmishal/swift,practicalswift/swift,modocache/swift,slavapestov/swift,brentdax/swift,nathawes/swift,JaSpa/swift,practicalswift/swift,shahmishal/swift,jmgc/swift,alblue/swift,xedin/swift,emilstahl/swift,kusl/swift,kstaring/swift,lorentey/swift,danielmartin/swift,stephentyrone/swift,lorentey/swift,devincoughlin/swift,atrick/swift,LeoShimonaka/swift,gmilos/swift,gmilos/swift,jmgc/swift,dduan/swift,Ivacker/swift,amraboelela/swift,dduan/swift,gottesmm/swift,uasys/swift,kusl/swift,aschwaighofer/swift,xwu/swift,airspeedswift/swift,KrishMunot/swift,sdulal/swift,amraboelela/swift,johnno1962d/swift,russbishop/swift,sschiau/swift,lorentey/swift,cbrentharris/swift,gregomni/swift,SwiftAndroid/swift,shajrawi/swift,ben-ng/swift,Ivacker/swift,atrick/swift,djwbrown/swift,johnno1962d/swift,CodaFi/swift,KrishMunot/swift,austinzheng/swift,huonw/swift,ken0nek/swift,practicalswift/swift,khizkhiz/swift,IngmarStein/swift,Ivacker/swift,amraboelela/swift,djwbrown/swift,glessard/swift,djwbrown/swift,glessard/swift,kentya6/swift,milseman/swift,benlangmuir/swift,tardieu/swift,LeoShimonaka/swift,Jnosh/swift,airspeedswift/swift,LeoShimonaka/swift,alblue/swift,khizkhiz/swift,frootloops/swift,uasys/swift,rudkx/swift,xedin/swift,jopamer/swift,gregomni/swift,jckarter/swift,JGiola/swift,IngmarStein/swift,sdulal/swift,tinysun212/swift-windows,roambotics/swift,shahmishal/swift,manavgabhawala/swift,benlangmuir/swift,arvedviehweger/swift,tardieu/swift,sschiau/swift,frootloops/swift,gottesmm/swift,ken0nek/swift,khizkhiz/swift,kusl/swift,danielmartin/swift,brentdax/swift,codestergit/swift,jtbandes/swift,hughbe/swift,harlanhaskins/swift,apple/swift,zisko/swift,jtbandes/swift,xwu/swift,karwa/swift,tinysun212/swift-windows,bitjammer/swift,dduan/swift,allevato/swift,brentdax/swift,allevato/swift,gottesmm/swift,nathawes/swift,JaSpa/swift,felix91gr/swift,allevato/swift,sschiau/swift,benlangmuir/swift,danielmartin/swift,hooman/swift,alblue/swift,kstaring/swift,milseman/swift,alblue/swift,OscarSwanros/swift,russbishop/swift,tjw/swift,return/swift,swiftix/swift.old,mightydeveloper/swift,codestergit/swift,parkera/swift,austinzheng/swift,shajrawi/swift,ahoppen/swift,cbrentharris/swift,atrick/swift,kstaring/swift,codestergit/swift,djwbrown/swift,gribozavr/swift,alblue/swift,parkera/swift,gregomni/swift,alblue/swift,sdulal/swift,parkera/swift,ken0nek/swift,emilstahl/swift,modocache/swift,sschiau/swift,glessard/swift,kentya6/swift,ken0nek/swift,LeoShimonaka/swift,jckarter/swift,adrfer/swift,roambotics/swift,kstaring/swift,emilstahl/swift,karwa/swift,mightydeveloper/swift,sschiau/swift,shajrawi/swift,danielmartin/swift,adrfer/swift,SwiftAndroid/swift,calebd/swift,mightydeveloper/swift,Ivacker/swift,swiftix/swift.old,slavapestov/swift,arvedviehweger/swift,JGiola/swift,Jnosh/swift,ben-ng/swift,ben-ng/swift,CodaFi/swift,parkera/swift,gregomni/swift,natecook1000/swift,manavgabhawala/swift,tkremenek/swift,bitjammer/swift,arvedviehweger/swift,SwiftAndroid/swift,ahoppen/swift,austinzheng/swift,IngmarStein/swift,slavapestov/swift,gmilos/swift,aschwaighofer/swift,hughbe/swift,milseman/swift,jckarter/swift,MukeshKumarS/Swift,swiftix/swift,LeoShimonaka/swift,ben-ng/swift,gregomni/swift,milseman/swift,lorentey/swift,roambotics/swift,practicalswift/swift,SwiftAndroid/swift,brentdax/swift,parkera/swift,kperryua/swift,xedin/swift,jmgc/swift,jckarter/swift,natecook1000/swift,deyton/swift,apple/swift,ken0nek/swift,atrick/swift,felix91gr/swift,shahmishal/swift,jtbandes/swift,mightydeveloper/swift,cbrentharris/swift,danielmartin/swift,gribozavr/swift,CodaFi/swift,huonw/swift,manavgabhawala/swift,huonw/swift,xedin/swift,harlanhaskins/swift,harlanhaskins/swift,xedin/swift,shajrawi/swift,adrfer/swift,mightydeveloper/swift,Jnosh/swift,tinysun212/swift-windows,LeoShimonaka/swift,gottesmm/swift,codestergit/swift,natecook1000/swift,austinzheng/swift,kperryua/swift,hooman/swift,devincoughlin/swift,calebd/swift,OscarSwanros/swift,cbrentharris/swift,return/swift,dduan/swift,Jnosh/swift,codestergit/swift,zisko/swift,OscarSwanros/swift,sdulal/swift,kusl/swift,KrishMunot/swift,bitjammer/swift,jmgc/swift,Ivacker/swift,jopamer/swift,devincoughlin/swift,allevato/swift,codestergit/swift,shajrawi/swift,shahmishal/swift,amraboelela/swift,kentya6/swift,huonw/swift,therealbnut/swift,zisko/swift,IngmarStein/swift,natecook1000/swift,swiftix/swift,kusl/swift,russbishop/swift,KrishMunot/swift,deyton/swift,return/swift,khizkhiz/swift,lorentey/swift,swiftix/swift.old,hughbe/swift,emilstahl/swift,xedin/swift,frootloops/swift,airspeedswift/swift,tkremenek/swift,xwu/swift,adrfer/swift,JGiola/swift,MukeshKumarS/Swift,jmgc/swift,kperryua/swift,kentya6/swift,OscarSwanros/swift,therealbnut/swift,practicalswift/swift,frootloops/swift,emilstahl/swift,gottesmm/swift,deyton/swift,huonw/swift,rudkx/swift,tjw/swift,johnno1962d/swift,cbrentharris/swift,khizkhiz/swift,brentdax/swift,devincoughlin/swift,jtbandes/swift,uasys/swift,arvedviehweger/swift,nathawes/swift,cbrentharris/swift,kentya6/swift,hughbe/swift,ken0nek/swift,adrfer/swift,johnno1962d/swift,shajrawi/swift,tardieu/swift,jopamer/swift,huonw/swift,swiftix/swift,allevato/swift,arvedviehweger/swift,dduan/swift,Ivacker/swift,slavapestov/swift,kusl/swift,aschwaighofer/swift,KrishMunot/swift,aschwaighofer/swift,mightydeveloper/swift,tardieu/swift,OscarSwanros/swift,frootloops/swift,tkremenek/swift,calebd/swift,shahmishal/swift,gmilos/swift,sdulal/swift,CodaFi/swift,mightydeveloper/swift,hooman/swift,glessard/swift,uasys/swift,bitjammer/swift,djwbrown/swift,aschwaighofer/swift,roambotics/swift,brentdax/swift,kentya6/swift,MukeshKumarS/Swift,milseman/swift,sschiau/swift,uasys/swift,swiftix/swift.old,milseman/swift,danielmartin/swift,austinzheng/swift,karwa/swift,gribozavr/swift,therealbnut/swift,hooman/swift,tinysun212/swift-windows,roambotics/swift,CodaFi/swift,cbrentharris/swift,stephentyrone/swift,russbishop/swift,slavapestov/swift,swiftix/swift.old,zisko/swift,harlanhaskins/swift,IngmarStein/swift,JaSpa/swift,parkera/swift,ahoppen/swift,shajrawi/swift,IngmarStein/swift,uasys/swift,JaSpa/swift,SwiftAndroid/swift,felix91gr/swift,austinzheng/swift,johnno1962d/swift,hughbe/swift,shahmishal/swift,xwu/swift,xwu/swift,jmgc/swift,JaSpa/swift,therealbnut/swift,hooman/swift,ahoppen/swift,cbrentharris/swift,deyton/swift,djwbrown/swift,frootloops/swift,modocache/swift,djwbrown/swift,Ivacker/swift,aschwaighofer/swift,swiftix/swift,devincoughlin/swift,benlangmuir/swift,tinysun212/swift-windows,gregomni/swift,adrfer/swift,deyton/swift,practicalswift/swift,rudkx/swift,JaSpa/swift,hooman/swift,modocache/swift,therealbnut/swift,jtbandes/swift,stephentyrone/swift,OscarSwanros/swift,airspeedswift/swift,xedin/swift,slavapestov/swift,kperryua/swift,emilstahl/swift,KrishMunot/swift,felix91gr/swift,kperryua/swift,JGiola/swift,rudkx/swift,ben-ng/swift,dreamsxin/swift,karwa/swift,rudkx/swift,slavapestov/swift,felix91gr/swift,airspeedswift/swift,jckarter/swift,arvedviehweger/swift,karwa/swift,kstaring/swift,brentdax/swift,karwa/swift,tardieu/swift,gribozavr/swift,johnno1962d/swift,parkera/swift,gribozavr/swift,russbishop/swift,LeoShimonaka/swift,jckarter/swift,tjw/swift,allevato/swift,apple/swift,kstaring/swift,amraboelela/swift,gottesmm/swift,calebd/swift,atrick/swift,apple/swift,gmilos/swift,danielmartin/swift,return/swift,nathawes/swift,return/swift,arvedviehweger/swift,modocache/swift,jopamer/swift,amraboelela/swift,Jnosh/swift,airspeedswift/swift,harlanhaskins/swift,IngmarStein/swift,gmilos/swift,kstaring/swift,sschiau/swift,devincoughlin/swift,felix91gr/swift,return/swift,natecook1000/swift,lorentey/swift,xwu/swift,gottesmm/swift,jtbandes/swift,johnno1962d/swift,MukeshKumarS/Swift,zisko/swift,ahoppen/swift,devincoughlin/swift,adrfer/swift,glessard/swift,harlanhaskins/swift,swiftix/swift.old,nathawes/swift,tkremenek/swift,tinysun212/swift-windows,Jnosh/swift,swiftix/swift,tjw/swift,manavgabhawala/swift,mightydeveloper/swift,karwa/swift,sdulal/swift,tkremenek/swift,nathawes/swift,CodaFi/swift,dreamsxin/swift,therealbnut/swift,russbishop/swift,parkera/swift,JaSpa/swift,frootloops/swift,hughbe/swift,khizkhiz/swift,ben-ng/swift,emilstahl/swift,jtbandes/swift,bitjammer/swift,huonw/swift,swiftix/swift.old,harlanhaskins/swift,modocache/swift,tkremenek/swift,natecook1000/swift,tjw/swift,kentya6/swift,bitjammer/swift,roambotics/swift,kperryua/swift,jmgc/swift,jopamer/swift,zisko/swift,apple/swift,xwu/swift,gribozavr/swift,ahoppen/swift,Jnosh/swift,kusl/swift,airspeedswift/swift,deyton/swift,kusl/swift,CodaFi/swift,stephentyrone/swift,calebd/swift,tardieu/swift,felix91gr/swift,aschwaighofer/swift,stephentyrone/swift,deyton/swift,MukeshKumarS/Swift,jckarter/swift,return/swift,xedin/swift,zisko/swift,sschiau/swift,JGiola/swift,tjw/swift,glessard/swift,gribozavr/swift,hughbe/swift,swiftix/swift.old,codestergit/swift,hooman/swift,shajrawi/swift,gribozavr/swift,russbishop/swift,dduan/swift,ken0nek/swift,apple/swift,tardieu/swift,stephentyrone/swift,jopamer/swift,khizkhiz/swift,modocache/swift,kperryua/swift,sdulal/swift,practicalswift/swift,gmilos/swift,tinysun212/swift-windows,benlangmuir/swift,LeoShimonaka/swift,lorentey/swift,Ivacker/swift,lorentey/swift,tjw/swift,emilstahl/swift,calebd/swift,stephentyrone/swift,JGiola/swift,kentya6/swift,manavgabhawala/swift,shahmishal/swift,manavgabhawala/swift,bitjammer/swift,devincoughlin/swift,dduan/swift,sdulal/swift,milseman/swift,rudkx/swift,calebd/swift,therealbnut/swift,allevato/swift,swiftix/swift,nathawes/swift,tkremenek/swift,alblue/swift,OscarSwanros/swift,manavgabhawala/swift,natecook1000/swift,karwa/swift,austinzheng/swift,SwiftAndroid/swift,amraboelela/swift,SwiftAndroid/swift