Commits

Chris Lattner committed 487e0c058b5
Fix the rest of <rdar://problem/20409366> Diagnostics for init calls should print the class name Now for: let req = NSURLRequest(URL: NSURL(string: "<some url>")!)? instead of producing: test.swift:2:58: error: could not find an overload for 'init' that accepts the supplied we produce the correct diagnostic, with a fixit: error: cannot use optional chaining on non-optional value of type 'NSURLRequest' let req = NSURLRequest(URL: NSURL(string: "<some url>")!)? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ This also consolidates some existing diagnostics to improve their wording. Swift SVN r30049