swift
3c74c0f1 - [stdlib] Change the signature of Dictionary’s bulk initializer (#23758)

Comment changes are shownComment changes are hidden
Commit
6 years ago
[stdlib] Change the signature of Dictionary’s bulk initializer (#23758) The initializer was originally introduced without proper availability; in https://github.com/apple/swift/pull/23643, we fixed this by applying the `@_alwaysEmitIntoClient` attribute. However, this had the unfortunate side-effect that the symbol disappeared from `libswiftCore.dylib`, which somehow confuses some simulator builds. Try to figure out what’s happening by replacing the third closure argument with an integer return value. This changes the mangled name of the bulk initializer, which should make it more obvious how/why these builds fail. rdar://problem/49479386
Author
Parents
  • stdlib/public
    • Darwin/Foundation
      • File
        NSDictionary.swift
    • core
      • File
        DictionaryBuilder.swift
  • validation-test/stdlib
    • File
      Dictionary.swift