• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Every now and again, the Swift compiler loses its mind?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Every now and again, the Swift compiler loses its mind?


  • Subject: Every now and again, the Swift compiler loses its mind?
  • From: Rick Mann <email@hidden>
  • Date: Tue, 08 Dec 2015 00:25:25 -0800

At least once a day, it seems the Swift compiler loses its mind and generates ridiculous code. It often manifests as an unrecognized selector error, but usually the call stack looks completely wonky. Like, it'll be stopped in one method, but if you look at the call site, it's not calling that method at all.

Clean and rebuild always fixes this problem.

At first I though it just had some dependency-tracking weakness, and wasn't recompiling a file when something in another file changed. But just now it happened, and the only thing I did was introduce a new method in one file and call it from the same file.

Again, clean and build fixed it.

Xcode 7.1.1, OS X 10.10.5, OS X app.

Anyone else seeing this? I know if I write a bug, Apple's gonna ask for a project that reproduces it. I can't give them that.

--
Rick Mann
email@hidden



 _______________________________________________
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


  • Prev by Date: [Solved] How to display Unicode math symbol operator characters large enough to comprehend?
  • Next by Date: Xcode 7.0.1 on El Capitan?
  • Previous by thread: [Solved] How to display Unicode math symbol operator characters large enough to comprehend?
  • Next by thread: Xcode 7.0.1 on El Capitan?
  • Index(es):
    • Date
    • Thread