Apologies if off-topic, but Swift appears a lot on cocoa-dev, so maybe it’s OK

I’ve been using Swift and moving some Obj-C code over to it, but I’m concerned 
that it thinks this is “too complex to be solved in reasonable time”:

    import Foundation
    let y = 1.0 * sin(1.0) + 1.0 * sin(1.0) + 1.0 * sin(1.0)

The above is simplified from the original (original didn’t have constants under 
the sin function).  Swift 2.0 (Version 7.0 beta 6) reports a fatal error and 
suggests breaking down the expression which, of course, I can do but.  I’ve not 
seen any reports of such behavior on this list or elsewhere; have you?

There’s a Radar report for this filed against Swift 1.2 (and updated for 2.0).
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to