mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When generating constraints for an 'as' expression, consider the possibility that the code is supposed to be 'as!' instead of 'as'. Emit the appropriate fixit if that branch of the disjunction is chosen by the constraint solver. This is a more comprehensive fix for <rdar://problem/19499340> than the one in r24815. Swift SVN r24872
158 KiB
158 KiB