@@ -150,8 +150,8 @@ Constructs a scope that is the intersection of scopes `x` and `y`.
150
150
constrain (x, y) = x < y ? constrain (y, x) : throw (MethodError (constrain, x, y))
151
151
152
152
Base. isless (:: AnyScope , :: AnyScope ) = false
153
- Base. isless (:: AnyScope , x ) = false
154
- Base. isless (x , :: AnyScope ) = true
153
+ Base. isless (:: AnyScope , :: AbstractScope ) = false
154
+ Base. isless (:: AbstractScope , :: AnyScope ) = true
155
155
constrain (:: AnyScope , :: AnyScope ) = AnyScope ()
156
156
constrain (:: AnyScope , y) = y
157
157
@@ -161,8 +161,8 @@ taint_match(::DefaultEnabledTaint, x::Processor) = default_enabled(x)
161
161
taint_match (:: ProcessorTypeTaint{T} , x:: Processor ) where T = x isa T
162
162
Base. isless (:: TaintScope , :: TaintScope ) = false
163
163
Base. isless (:: TaintScope , :: AnyScope ) = true
164
- Base. isless (:: TaintScope , x ) = false
165
- Base. isless (x , :: TaintScope ) = true
164
+ Base. isless (:: TaintScope , :: AbstractScope ) = false
165
+ Base. isless (:: AbstractScope , :: TaintScope ) = true
166
166
function constrain (x:: TaintScope , y:: TaintScope )
167
167
scope = constrain (x. scope, y. scope)
168
168
if scope isa InvalidScope
0 commit comments