diff --git a/go/ql/lib/semmle/go/frameworks/stdlib/Os.qll b/go/ql/lib/semmle/go/frameworks/stdlib/Os.qll index 3e443d942b16..492e4b002411 100644 --- a/go/ql/lib/semmle/go/frameworks/stdlib/Os.qll +++ b/go/ql/lib/semmle/go/frameworks/stdlib/Os.qll @@ -47,7 +47,7 @@ module Os { private class Stdin extends SourceNode { Stdin() { exists(Variable osStdin | osStdin.hasQualifiedName("os", "Stdin") | - this.asExpr() = osStdin.getARead().asExpr() + this = osStdin.getARead() ) }