Commits

Joe Groff committed df39c3e043f
SILGen: Mark function escapes for script globals captured by closures. We did this for func decls in script, so that DI can flag func decls that access script globals before they've been initialized, but we failed to do so for closures, causing us to miss DI violations when closures referenced script globals before their initialization. Fixes rdar://problem/24357063.