Commit e5b1f7b
committed
[AST] TypeSubstitution: Add a
This fixes a crash in `ReplaceOpaqueTypesWithUnderlyingTypes::operator()`
that I couldn't properly reduce because it has to do with `SwiftDeclCollector`.
`ReplaceOpaqueTypesWithUnderlyingTypes::operator()` has the check
already and `canSubstituteTypeInto` expects `inContext` to be
non-null.
Resolves: rdar://156896331nullptr check before attempting to use inContext
1 parent 597aaba commit e5b1f7b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1157 | 1157 | | |
1158 | 1158 | | |
1159 | 1159 | | |
1160 | | - | |
| 1160 | + | |
| 1161 | + | |
1161 | 1162 | | |
1162 | 1163 | | |
1163 | 1164 | | |
| |||
0 commit comments