File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
rust/ql/test/library-tests/type-inference Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ mod impl_overlap {
398
398
399
399
pub fn f ( ) {
400
400
let x = S1 ;
401
- println ! ( "{:?}" , x. common_method( ) ) ; // $ method=S1::common_method SPURIOUS: method=<S1_as_OverlappingTrait>::common_method
401
+ println ! ( "{:?}" , x. common_method( ) ) ; // $ method=S1::common_method
402
402
println ! ( "{:?}" , x. common_method_2( ) ) ; // $ method=S1::common_method_2
403
403
}
404
404
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ module ResolveTest implements TestSig {
24
24
location = source .getLocation ( ) and
25
25
element = source .toString ( )
26
26
|
27
- target = resolveMethodCallExpr ( source ) and
27
+ target = source . ( MethodCallExpr ) . getStaticTarget ( ) and
28
28
functionHasValue ( target , value ) and
29
29
tag = "method"
30
30
or
You can’t perform that action at this time.
0 commit comments