<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/diagnostics/nested-pragma-impl1.slang, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2025-08-05T00:13:19+00:00</updated>
<entry>
<title>Fix #pragma warning not working with multifile modules (#7942)</title>
<updated>2025-08-05T00:13:19+00:00</updated>
<author>
<name>Copilot</name>
<email>198982749+Copilot@users.noreply.github.com</email>
</author>
<published>2025-08-05T00:13:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=301ffb1944a01d33d0b82c135f3c4a86e80fde2e'/>
<id>urn:sha1:301ffb1944a01d33d0b82c135f3c4a86e80fde2e</id>
<content type='text'>
* Initial plan

* Fix pragma warning not working with multifile modules

- Check if DiagnosticSink already has a WarningStateTracker before creating new one
- This preserves pragma warning state across __include'd files
- Add regression tests for multifile pragma warnings

Co-authored-by: csyonghe &lt;2652293+csyonghe@users.noreply.github.com&gt;

* Add additional test cases for nested pragma warnings

- Test nested __include scenarios with pragma warning directives
- Verify pragma warnings work correctly with multiple levels of includes

Co-authored-by: csyonghe &lt;2652293+csyonghe@users.noreply.github.com&gt;

---------

Co-authored-by: copilot-swe-agent[bot] &lt;198982749+Copilot@users.noreply.github.com&gt;
Co-authored-by: csyonghe &lt;2652293+csyonghe@users.noreply.github.com&gt;
Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
</feed>
