Skip to content

Commit ea0cc76

Browse files
committed
[lldb] Remove suggestion to run with '-d run-target'
Stop suggesting running with '-d run-target'. This no longer has any effect, since we now always bind generic types in the expression evaluator. rdar://76517425
1 parent bcf6482 commit ea0cc76

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -680,12 +680,8 @@ static llvm::Optional<llvm::Error> AddVariableInfo(
680680
// Not realizing self is a fatal error for an expression and the
681681
// Swift compiler error alone is not particularly useful.
682682
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"));
683+
return make_error<StringError>(inconvertibleErrorCode(),
684+
"Couldn't realize type of self.");
689685
return {};
690686
}
691687

0 commit comments

Comments
 (0)