mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove the notion of 'unresolved' types entirely.
Unresolved types are a holdover from the old type checker that not longer have any purpose in the type system. Swift SVN r6242
This commit is contained in:
@@ -721,7 +721,7 @@ public:
|
||||
|
||||
void visitIntegerLiteralExpr(IntegerLiteralExpr *E) {
|
||||
printCommon(E, "integer_literal_expr") << " value=";
|
||||
if (E->getType().isNull() || E->getType()->isUnresolvedType())
|
||||
if (E->getType().isNull())
|
||||
OS << E->getText();
|
||||
else
|
||||
OS << E->getValue();
|
||||
|
||||
Reference in New Issue
Block a user