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: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3
- refs/heads/master-next: 740cb36b76c3507cebc62ea75f115e303bf0b4c1
3
+ refs/heads/master-next: d7591562323dc44929e4d73cd21a9047817034af
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