File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: fac36f95b0469766c0c0ce05b7d6543d8dc31c35
2
+ refs/heads/master: 6e70b397a7fc654b3bfa08f79c90f1cc71b9e719
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -2372,13 +2372,9 @@ CanType ASTMangler::getDeclTypeForMangling(
2372
2372
}
2373
2373
2374
2374
2375
- Type type = decl->getInterfaceType ()
2376
- ->getReferenceStorageReferent ();
2377
- if (type->hasArchetype ()) {
2378
- assert (isa<ParamDecl>(decl) && " Only ParamDecl's still have archetypes" );
2379
- type = type->mapTypeOutOfContext ();
2380
- }
2381
- CanType canTy = type->getCanonicalType ();
2375
+ auto canTy = decl->getInterfaceType ()
2376
+ ->getReferenceStorageReferent ()
2377
+ ->getCanonicalType ();
2382
2378
2383
2379
if (auto gft = dyn_cast<GenericFunctionType>(canTy)) {
2384
2380
genericSig = gft.getGenericSignature ();
You can’t perform that action at this time.
0 commit comments