[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1172) In nested accessors "this" keyword is required in front

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Thu Sep 6 15:46:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-1172?page=comments#action_12375773 ] 
            
Edson Tirelli commented on JBRULES-1172:
----------------------------------------

Sorry, the anonymous link to the repository is:

http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_NestedAccessors.drl

> In nested accessors "this" keyword is required in front
> -------------------------------------------------------
>
>                 Key: JBRULES-1172
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1172
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.0.1
>         Environment: Wintel XP SP2
>            Reporter: Sergey Manukyan
>         Assigned To: Edson Tirelli
>             Fix For: 4.0.2
>
>
> Nested accessors when used without "this" in front result in compilation error:
> f.e. this FAILS:
> when
>       Supplier(supplierBusinessStatus.businessStatus.statusActive == true)
> this rule works OK  (this in front):
> when
>       Supplier(this.supplierBusinessStatus.businessStatus.statusActive == true)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list