[jboss-jira] [JBoss JIRA] Commented: (JBRULES-807) DefaultExpander not recording line numbers of errors correctly

Michael Neale (JIRA) jira-events at lists.jboss.org
Tue Apr 24 00:22:30 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-807?page=comments#action_12360313 ] 
            
Michael Neale commented on JBRULES-807:
---------------------------------------

ok, yes I understood - for DSLs, line/char accuracy is not needed, but if it coudl at least narrow it down to a rule, that may well be enough (so the line number reported is the RHS block? or the rule - or something other then what it is now). I am not that worried if it is not the exact line if that is impossible.

I do like this new flexibility, I won't be recommending it for everyone, as this flexibility is impossible to tool unfortunately (or tool ina  way that makes sense) so it will be there for advanced users who just have to have it. 

> DefaultExpander not recording line numbers of errors correctly
> --------------------------------------------------------------
>
>                 Key: JBRULES-807
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-807
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-brms
>            Reporter: Michael Neale
>         Assigned To: Edson Tirelli
>
> In DefaultExpanderTest, I have added a method:
> FIXME_testLineNumberError()
> this shows how it should work. The problem is that the line number calculated and reported is relative to the LHS block (in this case) whereas it have to be relative to the whole "file".

-- 
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