title: Compiler error "expected method not found" when using subscript on NSArray
body: <p>I wrote this simple code to try out the new Objective-C literal syntax for <code>NSArray</code>s:</p>
  <pre><code>NSArray *array = @[@&quot;foo&quot;];
  NSLog(@&quot;%@&quot;, array[0]); 
  </code></pre>
  <p>The first line works fine, but the subscripting results in an error:</p>
  <blockquote>
  <p>Expected method to read array element not found on object of type 'NSArray *'</p>
  </blockquote>
  <p>Just wondering if I have done something wrong, or if the literals haven't been fully implemented yet. I'm compiling with Apple LLVM 4.0 and using the iOS 5 SDK.</p>
  <p>Here's a screenshot of the error, too.</p>
  <p><img src="https://i.stack.imgur.com/o4ZTs.png" alt="Error" /></p>