Re: Swift question
Re: Swift question
- Subject: Re: Swift question
- From: Greg Weston <email@hidden>
- Date: Wed, 04 Jun 2014 19:10:34 -0400
> Much nicer.. but the same outcome - warning based on the value of hammers. Same, even if I use a variable to load hammers, as Ronald suggested.
The problem with this test is that the compiler is smart enough to see that within the snippet the value of hammers is deterministic. Good for real projects. Troublesome for playing and simple test cases.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden