On Tue, May 26, 2009 at 13:50, Eelco Dolstra <[email protected]> wrote: > Hi, > > Nicolas Pierron wrote: > >> Currently, when you add a with statement at the top of your nix >> expression, this means that you will spend much more time at finding >> misspelled variables. > > Hm yes, the error message is not very good. So maybe we should add position > information to variables. The only downside is that it reduces maximal > sharing > / normal form caching in the evaluator.
Or at least show the location of the attribute which contains the undefined variable. This will preserve the maximal sharing as it is today. -- Nicolas Pierron http://www.linkedin.com/in/nicolasbpierron - If you are doing something twice then you should try to do it once. _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
