Commit d01b31e
committed
SILGen: Remove a usage of the "bad" SubstitutionMap::get() variant
The only time the generic signature of the callee won't
match the generic signature of the substitution map is when
the callee is a non-generic closure inside a generic context.
Instead of remapping substitutions it suffices to just drop
them.1 parent 5ab1a85 commit d01b31e
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4252 | 4252 | | |
4253 | 4253 | | |
4254 | 4254 | | |
4255 | | - | |
4256 | | - | |
4257 | | - | |
| 4255 | + | |
| 4256 | + | |
| 4257 | + | |
| 4258 | + | |
| 4259 | + | |
| 4260 | + | |
| 4261 | + | |
| 4262 | + | |
| 4263 | + | |
| 4264 | + | |
| 4265 | + | |
| 4266 | + | |
4258 | 4267 | | |
4259 | 4268 | | |
4260 | 4269 | | |
| |||
0 commit comments