id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	difficulty	ghcversion	platform
164	bad error message when using configuration flags that were not defined	duncan	byorgey@gmail.com	"Using a flag in an if condition when that flag has not been previously defined gives an unhelpful error message:

{{{
-- flag foo never declared:

if flag(foo)
  blah:
else
  other:
}}}

We get the error message:

{{{
cabal-setup: Environment not defined for all free vars
}}}

The error is reported by {{{Distribution.Configuration.simplifyCondTree}}} but the error should probably be checked for much earlier."	defect	closed	normal	Cabal-1.4	Cabal library	1.2.0	minor	fixed			easy (<4 hours)	6.4.2	
