blob: 5b413934ebb69106a0824912c3685a1c72a3bf0c [file] [log] [blame]
// RUN: not %target-swift-frontend -typecheck %s
struct CommandContext<Command> {
init() {
let input = [1,2,3].filter {
extension CommandContext {
struct Options {
subscript<T>(path: T) -> Int {
fatalError()
}
}
}