id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
2141	Internal error on invalid record update	rl	igloo	"A silly function:

{{{
foo :: () -> ()
foo x = x { foo = 1 }
}}}

6.8.2 says:

{{{
GHC internal error: `foo' is not in scope
In the expression: x {foo = 1}
In the definition of `foo': foo x = x {foo = 1}
}}}

HEAD's message is a bit more illuminating:

{{{
GHC internal error: `foo' is not in scope during type checking, but it passed the renamer
tcg_type_env of environment: []
In the expression: x {foo = 1}
In the definition of `foo': foo x = x {foo = 1}
}}}
"	merge	closed	normal	6.10 branch	Compiler (Type checker)	6.8.2	fixed			Unknown/Multiple	Unknown/Multiple		Unknown	rnfail054			
