File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
branches/master-next/stdlib/public/runtime Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 3fe9333052029c114ef816ea805c335eb1ee8a99
3
- refs/heads/master-next: b9e6ae07e40da8bc6ad4a71e2fa732d94af1361e
3
+ refs/heads/master-next: fa40bf83b65fd8c9f930f8345a2f07c248bfca8e
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
6
6
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07
Original file line number Diff line number Diff line change @@ -3952,9 +3952,15 @@ void Metadata::dump() const {
3952
3952
printf (" Kind: %s.\n " , getStringForMetadataKind (getKind ()).data ());
3953
3953
printf (" Value Witnesses: %p.\n " , getValueWitnesses ());
3954
3954
3955
- auto *contextDescriptor = getTypeContextDescriptor ();
3956
- printf (" Name: %s.\n " , contextDescriptor->Name .get ());
3957
- printf (" Type Context Description: %p.\n " , contextDescriptor);
3955
+ if (auto *contextDescriptor = getTypeContextDescriptor ()) {
3956
+ printf (" Name: %s.\n " , contextDescriptor->Name .get ());
3957
+ printf (" Type Context Description: %p.\n " , contextDescriptor);
3958
+ }
3959
+
3960
+ if (auto *tuple = dyn_cast<TupleTypeMetadata>(this )) {
3961
+ printf (" Labels: %s.\n " , tuple->Labels );
3962
+ }
3963
+
3958
3964
printf (" Generic Args: %p.\n " , getGenericArgs ());
3959
3965
3960
3966
#if SWIFT_OBJC_INTEROP
You can’t perform that action at this time.
0 commit comments