Commits
Roman Levenstein committed 05a51b752ec
[cast-optimizer] Small bug-fix to avoid a compiler crash.
It fixes a compiler crash which occurs on the following code if Foundation is not imported:
class C {}
let x: Int = C() as! Int
The crash happened because Int was considered ObjC-bridgeable, but its ObjC counterpart was not known as Foundation was not imported.
Swift SVN r32594