Commits

Slava Pestov committed 8eabf84450e
Sema: diagnose capturing type declarations for now Properly implementing a class whose methods capture variables defined in the outer scope requires adding the captures as hidden vars in the class and initializers, and seems non-trivial. Just diagnose this case for now instead of crashing. Fixes <rdar://problem/20853958>. Swift SVN r28481