Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0185-sr9017.swift
Slava Pestov 4c0b391537 Sema: Ensure that even invalid extensions still have a generic parameter list
This helps maintain invariants, such as the presence of a generic
parameter list implying the presence of a generic signature.

Fixes <rdar://problem/45317855>.
2018-12-11 17:48:52 -05:00

9 lines
199 B
Swift

// RUN: not %target-swift-frontend -emit-ir %s
public final class Action<Input, Error: Swift.Error> {
extension Action {
public enum ActionError<Error: Swift.Error>: Swift.Error {
case disabled