Can't access Auto() property through classic Introspection

If you try to access a property declared as Auto() using classic Introspection, you will get a TypeMismatchException. For example:

dim prop as Introspection.PropertyInfo = ti.GetProperties()( 0 ) // Auto()
dim arr() as Auto = prop.Value( o )

The same code works if the property is declared as Variant() or if you use the new framework.

See:

<https://xojo.com/issue/46294>

There is no Auto type in the classic framework, so I don’t believe this is a bug.

In the case, @Joe Ranieri mentioned that the issue can be reproduced with a simple Variant -> Auto().

If you’re right that it’s not considered a bug, that would be unfortunate. It would be just one more roadblock in moving to the new framework.

(Admittedly, this only came up because I had to revert from the new Introspection back to the old until the Text issues on Windows are fixed.)

[quote=303498:@Greg O’Lone]dim prop as Introspection.PropertyInfo = ti.GetProperties()( 0 ) // Auto()
dim arr() as Auto = prop.Value( o )[/quote]
It works for non-array properties of type Auto, so I think it should be considered a bug.