Which component has the problem?
CuTe DSL
Bug Report
Describe the bug
When a class is defined inside a class and used in subsequent type annotations, latest version will raise an error saying the class is undefined. This works fine in 4.3.3 but 4.3.4, 4.3.5 will fail.
Steps/Code to reproduce bug
import cutlass
import cutlass.cute as cute
class A:
class B:
pass
@cute.jit
def f(self) -> B:
return B()
@cute.jit
def func():
A().f()
func()