Minimal test example is:
where the highlighted type of
object X {
def f[A <: Seq[_]](a: A): A = ???
}
where the highlighted type of
f
is def f[A <
. When the upper bound is removed the type is shown correctly.
Leave a comment
on 2013-11-10 15:03 *
By Simon Schäfer
Do you mean
yieldDefined(list)
with list.yieldDefined
? Otherwise the code does not compile.
on 2013-11-10 16:27 *
By Alex Abdugafarov
Description changed from Consider the following code... to Consider the following code...
on 2013-11-10 16:28 *
By Alex Abdugafarov
Sorry, made a mistake trying to isolate the case. Corrected the code.
on 2013-11-10 19:33 *
By Simon Schäfer
Version changed from 3.0.2-210 to 4.0.0-211
Summary changed from Show Type fails to resolve generic to Type hover fails to resolve upper bounds
Description changed from Consider the following code... to Minimal test example is:
Status changed from New to Accepted
I simplified the code example further; the upper bound seems to be the only problem.
I found out that this has a duplicate: #1001667
No file chosen
You have an empty file field. Please select or remove it.
Name | Size | ||
---|---|---|---|
upload.txt | 34 Bytes | Added by Anonymous on 2021-06-12 - Upload new version | |
upload.txt | 34 Bytes | Added by Anonymous on 2021-06-12 - Upload new version | |
upload.txt | 34 Bytes | Added by Anonymous on 2021-06-12 - Upload new version | |
upload.txt | 34 Bytes | Added by Anonymous on 2021-06-12 - Upload new version |