summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/extension-full-name.slang
Commit message (Collapse)AuthorAge
* Fix #6544: Properly format nested type names in extensions (#6769)Harsh Aggarwal (NVIDIA)2025-04-24
* Fix #6544: Properly format nested type names in extensions Modify DeclRefBase::toText to properly handle types defined in extensions by qualifying them with their parent type name. This ensures getFullName() returns the full name like 'FullPrecisionOptimizer<half>.State' instead of just '.State'. Also handle other nested types in structs/classes similarly. * Update extension reflection handling - with generics args and namespaces - stopping namespace inclusion for extension members - Update to use getTargetType() to handle the generic arguments - update test cases * Simplify code to remove using parentDecl