Skip to content

Commit e6ff6e7

Browse files
committed
rename "use objc" to "use object description"
1 parent 0c777e5 commit e6ff6e7

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

lldb/test/API/lang/swift/expression/error_reporting/TestSwiftExpressionErrorReporting.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,11 @@ def check(value):
8181

8282
check(value)
8383

84-
self.expect('dwim-print -O -- strct', error=True,
85-
substrs=['Missing type'])
86-
84+
self.expect(
85+
"dwim-print -O -- strct",
86+
substrs=["error: Missing type", "properties = true"],
87+
)
88+
8789
process.Continue()
8890
self.expect('expression -O -- number', error=True,
8991
substrs=['self', 'not', 'found'])
90-

lldb/test/API/lang/swift/expression/error_reporting/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class State {
77
var number : Int
88
}
99

10-
struct S {}
10+
struct S { var properties: Bool = true }
1111

1212
func f(_ strct : S) {
1313
print("in function") // break here

0 commit comments

Comments
 (0)