-Xprint:all
doesn't print type parameter bounds in the exported types
#13306
Labels
area:reporting
Error reporting including formatting, implicit suggestions, etc
good first issue
Perfect for someone who wants to get started contributing
itype:enhancement
Spree
Suitable for a future Spree
Milestone
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: