This would not affect the display of the demangled type name, but would cause LLDB to fail to retrieve the type, as it went looking for the wrong kind of thing

Swift SVN r10976
This commit is contained in:
Enrico Granata
2013-12-07 03:24:50 +00:00
parent 97ce2b1845
commit 0109df6ddd

View File

@@ -698,7 +698,7 @@ private:
if (Mangled.nextIf('b')) {
NodePointer type = Node::makeNodePointer(Node::Kind::Path);
type->push_back_child(Node::makeNodePointer(Node::Kind::Module,"swift"))->setNextNode(
Node::makeNodePointer(Node::Kind::Enum,"Bool"));
Node::makeNodePointer(Node::Kind::Structure,"Bool"));
return { type, IsProtocol::no };
}
if (Mangled.nextIf('c')) {