Skip to content

Commit e19aadc

Browse files
hborlasimanerush
authored andcommitted
[Constraint System] Fix the shape class and context substitiutions for
opened element generic environments containing same-element requirements.
1 parent eabaed8 commit e19aadc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/Constraints/pack-expansion-expressions.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ func outerArchetype<each T, U>(t: repeat each T, u: U) where repeat each T: P {
6363
}
6464

6565
func sameElement<each T, U>(t: repeat each T, u: U) where repeat each T: P, repeat each T == U {
66-
// FIXME
67-
// let _: (repeat each T) = (repeat (each t).f(u))
66+
let _ = (repeat (each t).f(u))
6867
}
6968

7069
func forEachEach<each C, U>(c: repeat each C, function: (U) -> Void)

0 commit comments

Comments
 (0)