Closed sunilprajapatisa closed 5 years ago
6 Errors | |
---|---|
:no_entry_sign: | Making non-trivial change requires changelog entry! Please, set trivial change or add entry to changelog. |
:no_entry_sign: | Please, modify only one extension per pull request. |
:no_entry_sign: | Sources/EZSwiftFunctions.swift#L81: unexpected platform condition (expected ‘os’, ‘arch’, or ‘swift’)
#if targetEnvironment(simulator)
|
:no_entry_sign: | Sources/EZSwiftFunctions.swift#L90: unexpected platform condition (expected ‘os’, ‘arch’, or ‘swift’)
#if targetEnvironment(simulator)
|
:no_entry_sign: | Sources/ArrayExtensions.swift#L26: cannot convert value of type ‘CountableRange<Array.Index>’ (aka ‘CountableRange<Int>’) to expected argument type ‘Range<Int>’
let halfOpenClampedRange = Range(range).clamped(to: indices)
|
:no_entry_sign: | Sources/ArrayExtensions.swift#L117: value of type ‘EnumeratedSequence<[Element]>’ has no member ‘compactMap’
return enumerated().compactMap { ($0.element == element) ? $0.offset : nil }
|
Generated by :no_entry_sign: Danger
More minimalist version here : https://github.com/goktugyil/EZSwiftExtensions/pull/496.
I am pulling this into swift4.2 for expediting my work.
Checklist