Skip to content

Commit e6cccf8

Browse files
authored
Merge pull request #1183 from slavapestov/only-bind-extensions-once
[Swift] Update to explicitly call bindExtensions()
2 parents 6429041 + 6a52a97 commit e6cccf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,6 +1437,7 @@ unsigned SwiftExpressionParser::Parse(DiagnosticManager &diagnostic_manager,
14371437
return 2;
14381438
}
14391439

1440+
swift::bindExtensions(parsed_expr->module);
14401441
swift::performTypeChecking(parsed_expr->source_file);
14411442

14421443
if (swift_ast_ctx->HasErrors()) {

0 commit comments

Comments
 (0)