[Swift-user] Need help with Integer cannot be cast to String

Andrew Shewmaker agshew at gmail.com
Fri Jul 12 15:18:36 CDT 2013


Hi,

I'm learning how use Swift, and I'm trying to understand what I'm doing
wrong that's causing this failure:

java.lang.ClassCastException: java.lang.Integer cannot be cast to
java.lang.String

on line 78 of the attached usecase1.swift

I don't think I'm trying to use an Integer in the line that's mentioned.
Any help would be appreciated!

Thanks,

Andrew Shewmaker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swiftdemo.tgz
Type: application/x-gzip
Size: 28103 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20130712/7fba0a5f/attachment.bin>


More information about the Swift-user mailing list