-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-Xprint:all
doesn't print type parameter bounds in the exported types
#13306
Comments
Looks like this comment is outdated?
Aliases are parametrized |
Co-authored-by: Jamie Thompson <jamie.thompson@bath.edu> Co-authored-by: Meriam Lachkar <meriam.lachkar@gmail.com>
Co-authored-by: Jamie Thompson <jamie.thompson@bath.edu> Co-authored-by: Meriam Lachkar <meriam.lachkar@gmail.com>
Co-authored-by: Jamie Thompson <jamie.thompson@bath.edu> Co-authored-by: Meriam Lachkar <meriam.lachkar@gmail.com>
Co-authored-by: Jamie Thompson <jamie.thompson@bath.edu> Co-authored-by: Meriam Lachkar <meriam.lachkar@gmail.com>
Co-authored-by: Jamie Thompson <jamie.thompson@bath.edu> Co-authored-by: Meriam Lachkar <meriam.lachkar@gmail.com>
Co-authored-by: Jamie Thompson <jamie.thompson@bath.edu> Co-authored-by: Meriam Lachkar <meriam.lachkar@gmail.com>
Compiler version
3.0.2-RC1
Minimized code
Compile this code with
-Xprint:all
compiler flagOutput
Notice that for the synthetic type
Exports.MyType
type bounds are not printed in any phase.Output example:
notice no type parameter bounds
However, if you replace
type Test = MyClass
with e.g.type Test = String
the compiler will generate an error, indicating that the type parameter bound is there:Expectation
The type parameter bounds are printed for the exported synthetic members
The text was updated successfully, but these errors were encountered: