fixes: #4463
fixes the following not working test: func-resource-result-simple.slang, related to #4291
When getting the address space of a function return type, only Ptr<T> returns were accounted for. The code now checks the address space of pointer-like-types.
fixes: #4463 fixes the following not working test:
func-resource-result-simple.slang
, related to #4291When getting the address space of a function return type, only
Ptr<T>
returns were accounted for. The code now checks the address space of pointer-like-types.