diff options
| author | ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> | 2025-08-14 12:27:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-14 19:27:55 +0000 |
| commit | dd06524f523cdac9c753801ce9c3992f66ae5576 (patch) | |
| tree | a73cad28075d1beaa04ba50dc4b668f3097c87b2 /tests/cpp-compiler | |
| parent | ceb2e8d04885d55dd9685a38977a55c4f53f202f (diff) | |
[Capability System] Fix bug where capabilities do not correctly propegate if AST-parent has target+set the AST-child does not (#8175)
Fixes: #8174
Changes:
* To determine if we propagate capabilities, we need to ensure that a
`join` will do nothing (optimization since `join` is expensive + caching
data for the `join` adds up to be expensive). This logic was changed in
`slang-check-decl.cpp` since the current logic was incorrect.
* A parent could have the set `metal+glsl` and the use-site could have
`glsl`. In this case, we will not remove `metal` from the parent since
`{metal+glsl}.implies({glsl})` is true.
---------
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'tests/cpp-compiler')
0 files changed, 0 insertions, 0 deletions
