[swift-users] Inconsistent behaviour of forward declarations
Victor Guerra
vguerra at gmail.com
Sat Jan 9 17:08:27 CST 2016
On Sat, Jan 9, 2016 at 11:56 PM Dan Cutting <dan at cutting.io> wrote:
> Thanks Victor.
>
> Actually, that snippet works in the v2.1.1 REPL as well, so I think the
> REPL environment works differently.
>
>
Both v2.1.1 and v2.2-dev fail when running that code as a script.
>
>
You are right Dan. I did give it a try previously from the REPL. And yes,
fails if scripted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160109/e4dcfc3b/attachment.html>
More information about the swift-users
mailing list