Skip to content

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Jun 30, 2020

This PR simplifies the interface to the shared data-flow library by combining getErasedRepr() and Node::getTypeBound() to a single getNodeType() predicate.

This means that we no longer require getTypeBound() to be exposed via the public class Node, and it has consequently been removed for C# (it was already marked with an INTERNAL comment). The predicates are still there for C++ and Java, and they will have to be deprecated before removal, but I'll let the C++ and Java teams decide on that.

@hvitved hvitved force-pushed the dataflow/node-type-interface branch from 8c525b8 to f1179cc Compare June 30, 2020 15:45
@hvitved hvitved marked this pull request as ready for review June 30, 2020 18:13
@hvitved hvitved requested review from a team as code owners June 30, 2020 18:13
@aschackmull aschackmull merged commit 38b73ff into github:master Jul 1, 2020
@hvitved hvitved deleted the dataflow/node-type-interface branch July 1, 2020 10:07
@hvitved
Copy link
Contributor Author

hvitved commented Jul 1, 2020

(cc @jbj, @MathiasVP : This means that you can now remove/deprecate getTypeBound() from the Node class.)

max-schaefer pushed a commit to max-schaefer/codeql-go that referenced this pull request Jul 1, 2020
max-schaefer pushed a commit to max-schaefer/codeql-go that referenced this pull request Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants