Re: [rules-users] Problem with modify sentence

2009-06-08 Thread Kevin Alonso
Hi Luis, The whole error message is the following: BuildError: Unable to build expression for 'consequence': Failed to compile: 1 compilation error(s): - (1,16) unqualified type in strict mode for: - 'modify ( rules ) { allowedGuesses -= 1 } System.out.println( Write a

[rules-users] Problem with modify sentence

2009-06-05 Thread Kevin Alonso
Hi all, I get a compilation error in a then part of the rule with the next sentence: modify ( rules ) { allowedGuesses -= 1 } This problem has appeared after update from 5.0 CR1 to Drools 5.0 final version. Is it a bug? Thank you, Kevin.

Re: [rules-users] Problem with modify sentence

2009-06-05 Thread Luis Silva
Hi Kevin, What is the error that you are getting? On Fri, Jun 5, 2009 at 2:47 AM, Kevin Alonso kalo...@vicomtech.org wrote: Hi all, I get a compilation error in a then part of the rule with the next sentence: modify ( rules ) { allowedGuesses -= 1 } This problem has appeared after update