Hi,
I have just tried to compile lucene with ecj, Eclipse's compiler, and it
complains of errors with BooleanScorer2. The problematic construction is
present 2x in the class:
       if (doc() > lastScoredDoc) {
         lastScoredDoc = doc();
         coordinator.nrMatchers += super.nrMatchers;
       }
It complains about the calls to doc(), with the following error message:
      The method doc is defined in an inherited type and in an enclosing
scope.

Not sure what the solution should be:
this.doc();
BooleanScorer2.this.doc();
or
super.doc();

If I did, I'd send a patch.

-- DM Smith

Reply via email to