diff options
| author | Mukund Keshava <mkeshava@nvidia.com> | 2025-06-26 13:51:51 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 08:21:51 +0000 |
| commit | 4a3342170fdba6d7883e4b18ef769bd54b4ee26e (patch) | |
| tree | b15bbc68d5bf178b883257245555939d70e40408 /source/core | |
| parent | 5afebcf02748384471a98858eedb685024f7f854 (diff) | |
Set current astbuilder for reflection API (#7488)
With the test code in the issue, a crash was observed inside Slang::DeclRefBase::getParent()
while accessing the astbuilder which was nullptr. This PR adds a fix for that.
For the test code in the issue, we now get:
================================================
found Outer<float>::Inner: true
found foo function: true
function name: "foo"
parameter count: 1
attempting getParameterByIndex(0): true
getParameterByIndex(0) succeeded: true
parameter name: "param"
parameter type: "float"
================================================
Fixes #6546
Diffstat (limited to 'source/core')
0 files changed, 0 insertions, 0 deletions
