You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Work Graphs: [Empty]NodeOutputArray subscript operator should not return reference type #5358
The subscript operator for NodeOutputArray and EmptyNodeOutputArray return a reference type to the NodeOutput or EmptyNodeOutput object. This should not be a reference, but a value instead. This interacts with #5357, because it prevents the type annotation from being created for the NodeOutput or EmptyNodeOutput type.
It looks like [Empty]NodeOutputArray's AST is correct and does not return references from the subscript operator. We don't have tests for [Empty]NodeOutputArray's AST, so we should add those, but otherwise there is nothing to do here.
It seems this got fixed along the way without referencing this bug. I've created #6199 for the tests Chris requested. As such, there's nothing left here. Closing.
Activity
llvm-beanz commentedon Jan 24, 2024
It looks like [Empty]NodeOutputArray's AST is correct and does not return references from the subscript operator. We don't have tests for [Empty]NodeOutputArray's AST, so we should add those, but otherwise there is nothing to do here.
pow2clk commentedon Jan 24, 2024
It seems this got fixed along the way without referencing this bug. I've created #6199 for the tests Chris requested. As such, there's nothing left here. Closing.