[Swift-devel] swift error handling problem

Ben Clifford benc at hawaga.org.uk
Thu Jan 29 08:28:23 CST 2009


> A minor problem in swift error handling:
> 
> com$ cat c2.swift
> int i=@missing(@arg("niter"));  // fails

> com$ swift c2.swift -niter=10
> Could not start execution.
>         Failed to convert .xml to .kml for c2.swift

> invoking a missing @ function in the expression above seems to make the parser
> fail.

Its the typechecking that fails - r2474 will still fail, but with a more 
specific error:

Could not start execution.
        Compile error in assigment at line 2: Unknown function missing

-- 




More information about the Swift-devel mailing list