mietek / epigram2

Mirror of Epigram 2, by Conor McBride, et al.
https://code.google.com/p/epigram
MIT License
47 stars 7 forks source link

Relabel: in a module with global lambda, shadow them #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

See ./test/BugModuleRelabel.pig

When working under shared parameters (in a module), we do the "let"
definition without considering them but the "relabel" tactics prompts them.
That's a bit confusing.

I called this a bug, that's not really a bug, right. It's just a feature.

What is the expected output? What do you see instead?

If we could avoid shadowing the shared definition, that would be more natural. 

Original issue reported on code.google.com by pedag...@gmail.com on 6 Jun 2010 at 12:52

GoogleCodeExporter commented 8 years ago
Fixed.

http://www.e-pig.org/darcsweb/darcsweb?r=Pig09;a=commit;h=20100913113112-e29d1-2
283dca36ab16a1291d83ce62422918be3a5f1e6.gz

Original comment by adamgundry on 13 Sep 2010 at 11:54