You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following example below, Celeriac attempts to link the properties of the
SReversedEdge parameter to the parameter of in the corresponding interface.
However, SReversedEdge, as a subclass of IEdge, has more properties / methods.
public interface IEdgeSet<TVertex, TEdge>
where TEdge : IEdge<TVertex>{
bool ContainsEdge(TEdge edge);
}
public sealed class ReversedBidirectionalGraph<TVertex, TEdge> :
IBidirectionalGraph<TVertex,SReversedEdge<TVertex,TEdge>>
where TEdge : IEdge<TVertex>
public bool ContainsEdge(SReversedEdge<TVertex, TEdge> edge)
{
...
}
}
Original issue reported on code.google.com by [email protected] on 14 Jun 2013 at 3:46
The text was updated successfully, but these errors were encountered:
Add a conservative fix in 79894216e4b0; basically parameters and return values
are only linked if they refer to the same type (so generic parameters / return
values won't be linked in most cases).
Original issue reported on code.google.com by
[email protected]
on 14 Jun 2013 at 3:46The text was updated successfully, but these errors were encountered: