<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/diagnostics/recursive-import-extra.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>2018-01-26T23:30:23+00:00</updated>
<entry>
<title>Fix handling of errors in imported modules (#387)</title>
<updated>2018-01-26T23:30:23+00:00</updated>
<author>
<name>Tim Foley</name>
<email>tfoleyNV@users.noreply.github.com</email>
</author>
<published>2018-01-26T23:30:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=06f0effb848c6b938e03da8a61e44b3d032380e8'/>
<id>urn:sha1:06f0effb848c6b938e03da8a61e44b3d032380e8</id>
<content type='text'>
* Fix handling of errors in imported modules

- If a semantic error is detected in an imported module, then don't try to generate IR code for it

- Also, if a module (transitively) imports itself, then report that as an error
  - The way I'm checking for this is a bit hacky (I'm adding the module to the map of loaded modules, but in an "unfinished" state, and then using that unfinished state to detect the import of a module already being imported).

This isn't a 100% complete solution for any of the related problems, but it improves the user experience for the common case.

* Remove #import test.

The feature is slated to be removed, so it isn't worth fixing up this test case.
</content>
</entry>
</feed>
