Commit 0b1df59
Use the bound of the TypeVariable as search class
Instead of using the TypeVariable itself, we need to use the resolved
bound of it. The TypeVariable itself may not be unbounded, but we may
already have found bounds for it.
Moreover, if arg or its direct supertypes are not parameterized
(Types.param() will return null) we can return false here.1 parent 3095daf commit 0b1df59
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
947 | | - | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
948 | 953 | | |
949 | 954 | | |
950 | 955 | | |
| |||
0 commit comments