You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeOf method has totally different result when a class has generics
To Reproduce
annotation class Anno
@Anno
class Foo
@Anno
class Bar<T>
println(typeOf<Foo>().asTypeName().toString()) // Foo ps. Expected
println(typeOf<Bar<*>>().asTypeName().toString()) // @Anno Bar<*> ps. Unexpected
Expected behavior
annotation class Anno
@Anno
class Foo
@Anno
class Bar<T>
println(typeOf<Foo>().asTypeName().toString()) // Foo
println(typeOf<Bar<*>>().asTypeName().toString()) // Bar
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
typeOf
method has totally different result when a class has genericsTo Reproduce
Expected behavior
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: