Deferring at the end of the function removes the ability to defer actions on variables introduced in an inner scope.
On Sat, Jan 2, 2016, 1:57 PM Tino Heth via swift-evolution < [email protected]> wrote: > I have the terrible feeling something is wrong with my posts so that they > get caught by spamfilters or similar… > > But as others stated as well: > defer has a use case that is a little bit different from what you want to > archive. > > > Why not use a solution that is widely used and better? > I'm curious: > Which languages have this "always" construct? > _______________________________________________ > swift-evolution mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution >
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
