You are viewing a plain text version of this content. The canonical link for it is here.
Posted to imperius-dev@incubator.apache.org by "David Wood (JIRA)" <ji...@apache.org> on 2009/04/02 14:51:13 UTC

[jira] Commented: (IMPERIUS-26) Argument parsing for reference to toString() is wrong

    [ https://issues.apache.org/jira/browse/IMPERIUS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695029#action_12695029 ] 

David Wood commented on IMPERIUS-26:
------------------------------------

The same line needs to be added to the basicActionBlock rule...


								identTupleList.add(tp);
				!				paramList = new ArrayList();

I'll attach new the cimspl.tree.g


> Argument parsing for reference to toString() is wrong
> -----------------------------------------------------
>
>                 Key: IMPERIUS-26
>                 URL: https://issues.apache.org/jira/browse/IMPERIUS-26
>             Project: Imperius
>          Issue Type: Bug
>            Reporter: David Wood
>            Assignee: Bill Stoddard
>         Attachments: cimspl.tree.g
>
>
> With the following policy:
> Import Class java.util.Properties:list1;
> Strategy Execute_All_Applicable;
> Policy 
> {
> 	Condition 
> 	{  
> 	   list1.get("Foo").toString() == "something"
> 	}
> 	Decision 
> 	{   
> 		list1.toString()
> 	}
> }:1;
> I get
> Number of Formal and passed parameters don't match for method toString
> This code used throw an exception (not sure why it's not now).    This is produced based on a problem we are seeing with some other classes which DOES throw the exception.  In looking into this a bit, it looks as if the "Foo" argument to the previous method is being passed to toString().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.