incubator-imperius-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Wood (JIRA)" <j...@apache.org>
Subject [jira] Created: (IMPERIUS-20) No type match between String and CharSequence
Date Wed, 17 Dec 2008 17:45:44 GMT
No type match between String and CharSequence 
----------------------------------------------

                 Key: IMPERIUS-20
                 URL: https://issues.apache.org/jira/browse/IMPERIUS-20
             Project: Imperius
          Issue Type: Bug
         Environment: WIndows
            Reporter: David Wood
            Assignee: Bill Stoddard
         Attachments: TypeResolver.java.patch

The policy below does not parse and gives an error message on append() because it thinks String
does not match CharSequence, which is what StringBuilder.append() is declared to accept. 
This points out a general problem of matching types against super classes.  I have a patch
for TypeResolve for String, but this may need to be handled more generically.

Import Class java.lang.StringBuilder:stringBuilder;
Strategy Execute_All_Applicable;
Policy 
{
Condition 
{  
     4 == 4
}
Decision 
{   
	stringBuilder.append("O1")
}
}:2;

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


Mime
View raw message