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 {
398398
399399 pub fn f ( ) {
400400 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
402402 println ! ( "{:?}" , x. common_method_2( ) ) ; // $ method=S1::common_method_2
403403 }
404404}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ module ResolveTest implements TestSig {
2424 location = source .getLocation ( ) and
2525 element = source .toString ( )
2626 |
27- target = resolveMethodCallExpr ( source ) and
27+ target = source . ( MethodCallExpr ) . getStaticTarget ( ) and
2828 functionHasValue ( target , value ) and
2929 tag = "method"
3030 or
You can’t perform that action at this time.
0 commit comments