Commits

Doug Gregor committed 953ca36f947
When type-checking a statement, keep track of whether it is top-level code. If so, use that DeclContext for foreach's synthesized variable. Because it's kinda nice to be able to use 'foreach' twice in a REPL session. Swift SVN r1614