Files
swift-mirror/test/SourceKit/CursorInfo/rdar_64230277.swift
Alex Hoppen 64cb1a76bb [SourceKit] Add test case for rdar://64230277
rdar://64230277 seems to already be fixed. Add a test case for it.
2021-03-19 15:23:23 +01:00

10 lines
220 B
Swift

// RUN: %sourcekitd-test -req=cursor -pos=5:16 %s -- %s | %FileCheck %s
protocol View {}
struct MyView: View {}
func indicator<T>(_ a: T) -> some View {
MyView()
}
// CHECK: source.lang.swift.decl.generic_type_param