<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/bugs/switch-local-const.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-05-11T05:14:44+00:00</updated>
<entry>
<title>Fix local constants in switch cases (#7053)</title>
<updated>2025-05-11T05:14:44+00:00</updated>
<author>
<name>Julius Ikkala</name>
<email>julius.ikkala@gmail.com</email>
</author>
<published>2025-05-11T05:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=7cd502256dde2fc32a1dd77462a69b6f8e84c288'/>
<id>urn:sha1:7cd502256dde2fc32a1dd77462a69b6f8e84c288</id>
<content type='text'>
* Fix using local constants in switch cases

* Add test

* format code

* Always lower switch cases with exprVal

* Fix formatting

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;
Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
</feed>
