diff --git a/ql/src/semmle/go/Scopes.qll b/ql/src/semmle/go/Scopes.qll index 8a094cbdeef..d637cb10444 100644 --- a/ql/src/semmle/go/Scopes.qll +++ b/ql/src/semmle/go/Scopes.qll @@ -254,7 +254,7 @@ class ResultVariable extends DeclaredVariable { } /** A struct field. */ -class Field extends ValueEntity { +class Field extends Variable { StructType declaringType; Field() { fieldstructs(this, declaringType) }