• 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
Re: Xcode 7.1b3 isn't checking return types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 7.1b3 isn't checking return types


  • Subject: Re: Xcode 7.1b3 isn't checking return types
  • From: Rick Mann <email@hidden>
  • Date: Tue, 20 Oct 2015 18:31:40 -0700

Ugh. Precisely the type of regression that should've been caught by an automated test. Assuming it's not something in your project, that is ;-)

> On Oct 20, 2015, at 18:21 , Jens Alfke <email@hidden> wrote:
>
> Watch out: the compiler in Xcode 7.1b3 is not detecting mismatched Obj-C return types, at least for methods that return objects. For example, the following compiles with no warnings, even with all typical warning flags enabled:
>
> @interface Foo : NSObject
> - (NSString*) name;
> @end
>
> @implementation Foo
> - (NSSet*) name { return nil; }
> @end
>
> Reported to Apple as rdar://23195007
>
> —Jens
> _______________________________________________
> 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


--
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


  • Follow-Ups:
    • Re: Xcode 7.1b3 isn't checking return types
      • From: Jens Alfke <email@hidden>
References: 
 >Xcode 7.1b3 isn't checking return types (From: Jens Alfke <email@hidden>)

  • Prev by Date: Xcode 7.1b3 isn't checking return types
  • Next by Date: Can't swap two items in storyboard outline table
  • Previous by thread: Xcode 7.1b3 isn't checking return types
  • Next by thread: Re: Xcode 7.1b3 isn't checking return types
  • Index(es):
    • Date
    • Thread