Consider this code:
dim ti as Introspection.TypeInfo = GetTypeInfo (SomeClass)
for each pi as Introspection.PropertyInfo in ti.GetProperties
dim pti as Introspection.TypeInfo = pi.PropertyType
That last line results in a TypeMismatchException, Reason “Expected Ptr but got Int32”.
‘pi’ is a property of type Delegate (which is a method without parameters and no return type).
This should not throw an exception, as the assignment’s both sides are of the correct type (i.e. TypeInfo).
And this used to work without an exception in previous Xojo 2016 versions.
So I’d call this a bug and a regression. Agreed?