[gwt-contrib] Re: Use 1-based counting for permutations in Compile Report

2009-11-20 Thread Lex Spoon
Consistency is good, but this patch breaks a different consistency! Specifically, the symbolMaps files count permutations from 0. So permutation 3 in the compile report would be permutation 2 in the symbolMaps files. I think that consistency is more important than that the permutation counting

[gwt-contrib] Re: Use 1-based counting for permutations in Compile Report

2009-11-20 Thread Katharina Probst
Hi Lex, you make a good point. There are a couple of counter-arguments, however: the logging output already uses 1-based counting, and for end users 1-based counting is probably more intuitive. Are permutation IDs used in any other artifacts produced by the compiler (other than symbol maps)

Re: [gwt-contrib] Re: Use 1-based counting for permutations in Compile Report

2009-11-20 Thread Scott Blum
Strawman proposal: how about we internally continue to count permutations from 0; but any time we produce a user facing message, we add 1 to make it 1-based instead? The only real reason for suggesting this is-- I think it already works that way in 90% of the cases. So maybe we just have to

Re: [gwt-contrib] Re: Use 1-based counting for permutations in Compile Report

2009-11-20 Thread Katharina Probst
On Fri, Nov 20, 2009 at 11:45 AM, Scott Blum sco...@google.com wrote: Strawman proposal: how about we internally continue to count permutations from 0; but any time we produce a user facing message, we add 1 to make it 1-based instead? This already happens when it comes to compiler logging

Re: [gwt-contrib] Re: Use 1-based counting for permutations in Compile Report

2009-11-20 Thread Scott Blum
After Kathrin and I talked this over, it's become clear that we simply don't have time to do 1-based counting, correctly, everywhere. Importantly, there is symbolMaps code in google3 that absolutely depends on 0-based counting. Looking at the whole situation, I think the wisest course of action