typeof and Type.is_a ignore generic types
Submitted by Travis Reitter
Link to original bug (#661283)
Description
This may be an underlying problem in GType, so please change components as necessary.
Given:
abstract class B : Object { ... }
class A : B<string> { ... }
typeof(A).is_a(typeof(B)) returns true (as expected)
typeof(A).is_a(typeof(B<bool>)) returns true (even though the parameters are different)
Should I be checking in a different way when the parent class is generic?
Edited by Rico Tzschichholz