Uploaded image for project: 'Swift'
  1. Swift
  2. SR-7299

ReactiveCocoa source breakage: error: ambiguous use of 'numberOfArguments'

    XMLWordPrintable

    Details

      Description

      To reproduce:
      1. Install latest GM/Beta Xcode
      2. $ git clone git@github.com:apple/swift-source-compat-suite.git
      3. $ cd swift-source-compat-suite

      To build Swift from scratch before testing:
      4. $ ./reproduce.py masterĀ --project-path ReactiveCocoa

      Or if you've already built Swift:
      4. $ ./reproduce.py master --project-path ReactiveCocoa --swiftc path/to/swiftc

      https://ci.swift.org/job/swift-master-source-compat-suite/1527/artifact/swift-source-compat-suite/

      /Users/buildnode/jenkins/workspace-private/swift-master-source-compat-suite/project_cache/ReactiveCocoa/ReactiveCocoa/NSObject+Intercepting.swift:387:19: error: ambiguous use of 'numberOfArguments'
              let count = UInt(methodSignature.numberOfArguments!)
                               ^
      

        Attachments

          Activity

            People

            Assignee:
            originaluser2 Hamish Knight
            Reporter:
            clack Clack Cole
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: