The error message says that it is trying to convert a ValRail of Int's
(each of which has the value 0) of length 1 to a ValRail of String and
does not know how to do so.
(Note the return type of the method is ValRail[[String].)
Cal Swart wrote:
> I am getting this error message and not sure wha
Cal Swart/Watson/i...@ibmus wrote on 11/11/2009 02:04:59 PM:
> I am getting this error message and not sure what to do. Can anyone
help?
>
>public def getArrayProperty(key: String): ValRail[String] throws
> Exception {
>return [0];
>}
>
>Error message:
>
> Cannot impli
I am getting this error message and not sure what to do. Can anyone help?
public def getArrayProperty(key: String): ValRail[String] throws
Exception {
return [0];
}
Error message:
Cannot implicitly convert expression of type "x10.lang.ValRail
[x10.lang.Int{self==0}] {self