Files
swift-mirror/lib/Sema/CSDiag.cpp
Pavel Yaskevich b7e322d877 [Diagnostics] Fix crash in diagnoseSubscriptErrors
If there is a single candidate with a valid index type, don't assume
that such candidate always has a valid function type. There are
multiple examples of this crash we've seen but there is no reproducer
test-case unfortunately.

Resolves: rdar://problem/37565861
2018-02-19 13:49:00 -08:00

318 KiB