swift
dc31c3fc - Fix `KeyPathIterable` conformance for `Array.DifferentiableView`. (#24332)

Commit
6 years ago
Fix `KeyPathIterable` conformance for `Array.DifferentiableView`. (#24332) Previously, `Array.DifferentiableView` made use of `KeyPathIterable` derived conformances. `allKeyPaths` used the private property `[\Array.DifferentiableView._base]`. Now, `allKeyPaths` uses the public property `[\Array.DifferentiableView.base]`. Gather all stdlib `KeyPathIterable` conformances in KeyPathIterable.swift to avoid such errors in the future.
Author
Committer
Parents
Loading