mirror of
https://github.com/github/codeql.git
synced 2026-01-30 23:02:56 +01:00
Add hint so optimizer doesn't choose bad join order
This commit is contained in:
@@ -662,7 +662,7 @@ module IR {
|
||||
)
|
||||
or
|
||||
exists(TypeAssertExpr tae | getBase() = evalExprInstruction(tae) |
|
||||
result = tae.getType().(TupleType).getComponentType(i)
|
||||
result = tae.getType().(TupleType).getComponentType(pragma[only_bind_into](i))
|
||||
)
|
||||
or
|
||||
exists(Type rangeType | rangeType = s.(RangeStmt).getDomain().getType().getUnderlyingType() |
|
||||
|
||||
Reference in New Issue
Block a user