swift
fb306d74 - remove @_transparent from Array.init(arrayLiteral:)

Comment changes are shownComment changes are hidden
Commit
5 years ago
remove @_transparent from Array.init(arrayLiteral:) It causes SwiftOnoneSupport to fail to compile, with error "swift: /usr/local/google/home/marcrasi/swift-merge/swift/lib/SILOptimizer/Utils/Generics.cpp:1864: swift::SILFunction *swift::GenericFuncSpecializer::tryCreateSpecialization(): Assertion `!SpecializedF->hasOwnership()' failed." Since we don't depend on constexpr any more, this removal shouldn't break anything.
Author
Marc Rasi
Committer
Marc Rasi
Parents
  • stdlib/public/core
    • File
      Array.swift