Skip to content

Commit 2832271

Browse files
[lldb] Fix missing return in TestStepIntoObjCInteropInit
Objective C constructors must return self.
1 parent 033960d commit 2832271

File tree

1 file changed

+1
-0
lines changed
  • lldb/test/API/lang/swift/step_into_objc_interop_init

1 file changed

+1
-0
lines changed

lldb/test/API/lang/swift/step_into_objc_interop_init/Foo.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@implementation Foo
44

55
- (id)init {
6+
return self;
67
}
78

89
- (id)initWithString:(nonnull NSString *)value {

0 commit comments

Comments
 (0)