Swift Compiler Diagnostics and Error Messages

Ole Begemann steps through an interesting example to build an array of strings by mapping over a range of numbers. Ole’s post demonstrates how the Swift compiler diagnostics (error messages) have improved over several beta releases to help troubleshoot code.

Swift Compiler Diagnostics