Commit 8bb3248
committed
SIL: TypeSubstCloner::remapASTType() should not call getLoweredRValueType()
SILCloner::visitScalarPackIndexInst() was calling remapASTType() on
a PackType. This was becoming a SILPackType, which would then crash
in a cast<>.1 parent 0d1e507 commit 8bb3248
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
192 | 194 | | |
193 | 195 | | |
194 | 196 | | |
| |||
0 commit comments