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.