[Swift-devel] Case handling bug

Michael Wilde wilde at mcs.anl.gov
Sat Nov 13 18:32:15 CST 2010


Here's a cute one I just stumbled on - the 2-line script:

int n=10;
int N = 12;

gives this error:

login1$ swift casebug.swift
Swift svn swift-r3702 (swift modified locally) cog-r2924 (cog modified locally)

RunID: 20101113-1830-nkmmf1b5
Progress:
Execution failed:
        java.lang.IllegalArgumentException: N is closed with a value of 12.0
login1$ 


-- 
Michael Wilde
Computation Institute, University of Chicago
Mathematics and Computer Science Division
Argonne National Laboratory




More information about the Swift-devel mailing list