We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2adea06 + ea0cc76 commit 0a8e04dCopy full SHA for 0a8e04d
lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp
@@ -680,12 +680,8 @@ static llvm::Optional<llvm::Error> AddVariableInfo(
680
// Not realizing self is a fatal error for an expression and the
681
// Swift compiler error alone is not particularly useful.
682
if (is_self)
683
- return make_error<StringError>(
684
- inconvertibleErrorCode(),
685
- llvm::Twine("Couldn't realize type of self.") +
686
- (use_dynamic
687
- ? ""
688
- : " Try evaluating the expression with -d run-target"));
+ return make_error<StringError>(inconvertibleErrorCode(),
+ "Couldn't realize type of self.");
689
return {};
690
}
691
0 commit comments