• 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: Clang ignoring type mismatch assigning block to object type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clang ignoring type mismatch assigning block to object type


  • Subject: Re: Clang ignoring type mismatch assigning block to object type
  • From: Chris Lattner <email@hidden>
  • Date: Sun, 27 Apr 2014 21:48:59 -0700


On Apr 27, 2014, at 7:33 PM, Jens Alfke <email@hidden> wrote:


On Apr 27, 2014, at 3:12 PM, Keary Suska <email@hidden> wrote:

Does it flag it when this assignment is other than nil? Just curious…

Yes; I just used nil for that little example. In reality I was refactoring some code and changed a method’s return type from NSArray* to a block type. There were no errors or warnings about the call sites I forgot to fix up, only runtime exceptions.

Filed a bug report, <rdar://16739120>

Thanks Jens,

-Chris

 _______________________________________________
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

References: 
 >Clang ignoring type mismatch assigning block to object type (From: Jens Alfke <email@hidden>)
 >Re: Clang ignoring type mismatch assigning block to object type (From: Keary Suska <email@hidden>)
 >Re: Clang ignoring type mismatch assigning block to object type (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Clang ignoring type mismatch assigning block to object type
  • Next by Date: Profiler Questions
  • Previous by thread: Re: Clang ignoring type mismatch assigning block to object type
  • Next by thread: Profiler Questions
  • Index(es):
    • Date
    • Thread