Quotes#PolyType
type-tests as Quotes#TypeLambda
#16961
Labels
area:metaprogramming:reflection
Issues related to the quotes reflection API
Milestone
Compiler version
3.3.1-RC1-bin-20230216-2507577-NIGHTLY
Minimized example
Output
When expanding, the macro prints
is a TypeLambda
Expectation
The documentation shows the type hierarchy:
Based on this, I would expect the output to be
is not a TypeLambda
. Of course, it could be that the run time type of whatPolyType
generates is a subtype of bothPolyType
andTypeLambda
, but given the documentation I find this behavior at least unexpected. I suppose that the type test and the documentation should be aligned.The text was updated successfully, but these errors were encountered: