Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lldb/test/API/lang/swift/variadic_generics/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#C_SOURCES := main.c
SWIFT_SOURCES := a.swift
#HIDE_SWIFTMODULE = YES
SWIFTFLAGS_EXTRAS = -Xfrontend -disable-round-trip-debug-types -enable-experimental-feature VariadicGenerics
SWIFTFLAGS_EXTRAS = -Xfrontend -disable-round-trip-debug-types -enable-experimental-feature VariadicGenerics -Xfrontend -disable-availability-checking

include Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ def test(self):
"Pack{(a.A, a.B)}", "more_ts", "i = 23", "d = 2.71"])

# f4(uvs: (a, b), (a, b))
#process.Continue()
# FIXME: Crashes the demangler.
#self.expect("frame variable",
# substrs=[""])
process.Continue()
self.expect("frame variable",
substrs=[""])

# f5(ts: (a, b), (42, b))
process.Continue()
Expand Down
11 changes: 5 additions & 6 deletions lldb/test/API/lang/swift/variadic_generics/a.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ public func f3<each T>(ts: repeat each T, more_ts: repeat each T) {

f3(ts: a, b, more_ts: a, b)

// FIXME: Crashes the demangler.
//public func f4<each U, each V>(uvs: repeat (each U, each V)) {
// print("break here")
//}
//
//f4(uvs: (a, b), (a, b))
public func f4<each U, each V>(uvs: repeat (each U, each V)) {
print("break here")
}

f4(uvs: (a, b), (a, b))

public func f5<each T, U>(ts: repeat (each T, U)) {
print("break here")
Expand Down