Files
swift-mirror/lib/SILOptimizer/Analysis/ClassHierarchyAnalysis.cpp
Slava Pestov c8f353ea04 SILOptimizer: Skip nominal types that haven't been validated yet
ModuleDecl::getTopLevelDecls() can return declarations that have
not been validated apparently. One example is the test case where
we have a nested type in an extension from another source file.

Fixes <https://bugs.swift.org/browse/SR-4558> and
<https://bugs.swift.org/browse/SR-4957>.
2017-05-22 14:41:30 -07:00

3.9 KiB