[Swift-user] problem with using import in version 0.9
John Dennis
dennis at ucar.edu
Thu Jul 22 16:49:49 CDT 2010
I am trying to get the import keyword to work in swift, but I am
getting
the following error. Any ideas what I am doing wrong?
Thanks,
John Dennis
> swift ./simple.swift
Could not start execution.
Type import is not defined.
where
> cat simple.swift
import typedefs;
string logname = "foo.log";
logfile finallog <single_file_mapper;file=logname>;
> cat typedefs.swift
> cat typedefs.swift
type logfile;
More information about the Swift-user
mailing list