Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@ScottCarda-MS
Copy link
Contributor

The method in this PR takes a cycle from the call graph, in the form of a sequence of Call Graph Edges, and determines if the cycle is valid or not. Invalid cycles are ones that map type parameters in the cycle to other type parameters of the same cycle (constricting the type parameter), i.e. Foo.A -> Foo.B, or to types that contain the same type parameter, i.e Foo.A -> Foo.A[].
Several unit tests are included.

@ScottCarda-MS ScottCarda-MS merged commit 0c9d3a1 into features/CallGraphWalker Aug 13, 2020
@ScottCarda-MS ScottCarda-MS deleted the sccarda/ValidateCycles branch August 13, 2020 22:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants