File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
lldb/packages/Python/lldbsuite/test/lang/swift/variables/objc_optionals Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -56,17 +56,20 @@ def do_check_visuals(self):
56
56
def do_check_api (self ):
57
57
"""Check formatting for T? and T! when T is an ObjC type"""
58
58
optColor_Some = self .frame ().FindVariable ("optColor_Some" )
59
+
60
+ # SwiftOptionalSyntheticFrontEnd passes GetNumChildren
61
+ # through to the .some object. NSColor has no children.
59
62
lldbutil .check_variable (
60
63
self ,
61
64
optColor_Some ,
62
65
use_dynamic = False ,
63
- num_children = 1 )
66
+ num_children = 0 )
64
67
uoptColor_Some = self .frame ().FindVariable ("uoptColor_Some" )
65
68
lldbutil .check_variable (
66
69
self ,
67
70
uoptColor_Some ,
68
71
use_dynamic = False ,
69
- num_children = 1 )
72
+ num_children = 0 )
70
73
71
74
if __name__ == '__main__' :
72
75
import atexit
You can’t perform that action at this time.
0 commit comments