Project: AspectJ
Bug 30663 lame error message: "negation doesn't allow binding"
Reported: 2003-01-30 15:48:08 | Status: resolved fixed

AspectJ Compiler 1.1beta4 This program: public aspect Foo { pointcut p(int i): call(void f(i)); } produces these error messages: negation doesn't allow binding formal unbound in pointcut 2 errors It should say something like "binding is only allowed in state-based pointcuts", and it should print the file and line number. --Doug

Files changed in fix:
tests/bugs/BadBindingError.java weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java weaver/src/org/aspectj/weaver/patterns/TypePattern.java weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java