mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
I haven't really carefully considered whether existing type-checking etc. is correct for the main module (I think the name-binding rules need to be a bit different?), but it seems to work well enough for the obvious cases. This is enough to get the one-liner "println(10)" to print "10" in "swift -i" mode, although the path to swift.swift still needs to be explicitly provided with -I. Swift SVN r1325
2.4 KiB
2.4 KiB