dabrahams
(Dave Abrahams)
1
Is there a way to invoke swift with the -syntax-check flag that will still allow it to cleanly parse my main.swift, which has top-level expressions in it? I can add -emit-executable, but I just want syntax and type checking, and no emitted executable.
Thanks!
attn: @jrose
jrose
(Jordan Rose)
2
That's -typecheck, not -syntax-check. What's -syntax-check?
dabrahams
(Dave Abrahams)
3
Well, -syntax-check is what's known as a typo. Since you knew what I meant, howzabout answering the question? 