We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5bd782e + d704989 commit f31c89aCopy full SHA for f31c89a
lib/ClangImporter/ImportDecl.cpp
@@ -4621,7 +4621,7 @@ namespace {
4621
isInSystemModule(dc), Bridgeability::None, ImportTypeAttrs());
4622
4623
// FIXME: Handle CGFloat too.
4624
- if (!type->isCGFloat()) {
+ if (type && !type->isCGFloat()) {
4625
auto convertKind = ConstantConvertKind::None;
4626
// Request conversions on enums, and swift_wrapper((enum/struct))
4627
// types
0 commit comments