<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/bugs/static-const-init-expr-with-interface-2.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-30T21:54:31+00:00</updated>
<entry>
<title>Ensure we do not have an `initExpr` on a `VarDecl` inside an `InterfaceDecl` (#7283)</title>
<updated>2025-05-30T21:54:31+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2025-05-30T21:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=3ca27faa23a92124f26875a6f00bcfc3a1c6431e'/>
<id>urn:sha1:3ca27faa23a92124f26875a6f00bcfc3a1c6431e</id>
<content type='text'>
* Ensure we do not have an initExpr on a var inside an InterfaceDecl

Ensure we do not have an initExpr on a var inside an InterfaceDecl. If we do, send an error.
Ensure the language server does not segfault with this error as per the issue.

* format code

* split tests

---------

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