mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Serialization] Fix one PrettyStackTrace, add another. (#7436)
We want to see /what/ types are failing here.
This commit is contained in:
@@ -4253,7 +4253,7 @@ Type ModuleFile::getType(TypeID TID) {
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
PrettyStackTraceType(ctx, "deserializing", typeOrOffset.get());
|
||||
PrettyStackTraceType trace(ctx, "deserializing", typeOrOffset.get());
|
||||
assert(!typeOrOffset.get()->hasError());
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user