Open
Description
Issue Kind
Bad Diagnostic Produced
Source Code
func genFn<T : Prot where T.Blarg : Prot2>(_: T) -> Int {}
Description
We get these diagnostics:
1:21: Expected '>' to end generic parameter clause
1:21: Expected argument list in function declaration
1:42: Extraneous '>(_: T) -> Int {}' at top level
vs. the existing compiler's
error: 'where' clause next to generic parameters is obsolete, must be written following the declaration's type