[Swift-devel] Some observations

Ben Clifford benc at hawaga.org.uk
Tue Aug 5 09:16:04 CDT 2008


> On Sun, 27 Jul 2008, Tiberiu Stef-Praun wrote:
> 
> > I was trying to read into swift the contents of a file which contained
> > a float (e.g. 0.415599405693).
> > It has been suggested that I use readData.
> > If did not work (some error about unable to cast to java.lang.Integer)

I just tested this and it seems to work for me. I added the test to 
tests/languag-behaviour/readData.swift in r2176.

Please try that test and check that it works for you. If you can come up 
with an example that does not work that would also be useful, as would the 
actual error message.

-- 




More information about the Swift-devel mailing list