Files
swift-mirror/lib/Sema/CSDiagnostics.cpp
Holly Borla 976addcbef [Diagnostics] When replacing an existential parameter type with a type parameter,
insert 'some' instead of an explicit type parameter.

Replacing 'any' with 'some' allows the code to compile without further
changes, such as naming an explicit type parameter, and is future-proofed
for same-type requirements on primary associated types instead of needing
additional logic to add a 'where' clause.
2022-04-15 22:57:56 -07:00

269 KiB