﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
1506	module importing itself does not result in an error	kristianlm		"
Doing this hangs csc forever:

{{{
[klm@kth test]$ chicken-install check-errors
building check-errors
  installing check-errors
[klm@kth test]$ echo '(import type-errors-numbers) (print ""ok"")' > test.scm
[klm@kth test]$ csc test.scm && ./test
ok
[klm@kth test]$ csc -static test.scm && ./test
^C
}}}

I think the cause has something to do with the static dependency list of check-error's type-errors-numbers module:

{{{
[klm@kth test]$ cat ~/.chickens/5.0.0rc1/lib/chicken/9/type-errors-numbers.link 
(type-errors-numbers type-errors-basic)
[klm@kth test]$ # this shouldn't contain itself, should it?
[klm@kth test]$ # this seems to be a reasonable workaround:
[klm@kth test]$ echo '(type-errors-basic)' > ~/.chickens/5.0.0rc1/lib/chicken/9/type-errors-numbers.link
[klm@kth test]$ csc -static test.scm && ./test
ok
}}}

"	defect	closed	major	5.1	core tools	5.0.0	fixed			
