mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Merge pull request #17787 from yoff/shared/add-location-to-typetracking-nodes
shared: Add locations to type tracking nodes
This commit is contained in:
@@ -3,5 +3,6 @@
|
||||
* for tracking types.
|
||||
*/
|
||||
|
||||
private import codeql.ruby.AST
|
||||
private import codeql.ruby.typetracking.internal.TypeTrackingImpl as Impl
|
||||
import Impl::Shared::TypeTracking<Impl::TypeTrackingInput>
|
||||
import Impl::Shared::TypeTracking<Location, Impl::TypeTrackingInput>
|
||||
|
||||
@@ -265,7 +265,7 @@ private module TypeTrackerSummaryFlow = SummaryTypeTracker::SummaryFlow<SummaryT
|
||||
|
||||
private newtype TContentFilter = MkElementFilter()
|
||||
|
||||
module TypeTrackingInput implements Shared::TypeTrackingInput {
|
||||
module TypeTrackingInput implements Shared::TypeTrackingInput<Location> {
|
||||
class Node = DataFlowPublic::Node;
|
||||
|
||||
class LocalSourceNode = DataFlowPublic::LocalSourceNode;
|
||||
@@ -467,4 +467,4 @@ module TypeTrackingInput implements Shared::TypeTrackingInput {
|
||||
predicate hasFeatureBacktrackStoreTarget() { none() }
|
||||
}
|
||||
|
||||
import SharedImpl::TypeTracking<TypeTrackingInput>
|
||||
import SharedImpl::TypeTracking<Location, TypeTrackingInput>
|
||||
|
||||
Reference in New Issue
Block a user