eric-hawthorne / relish

Automatically exported from code.google.com/p/relish
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Compiler crashes when file imports and references an empty package #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After some code refactoring, a previous existing package is now empty (no .rel 
files in it). A test file was still referencing this package in the import 
statement as well as in code. When I tried to compile the tests, the compiler 
crashed with this error:

panic: runtime error: invalid memory address or nil pointer dereference

Also, I noticed that the empty package was loaded (not just loading) during 
compilation before the crash.

Original issue reported on code.google.com by bcitg...@gmail.com on 13 Sep 2013 at 6:30