[SR-10558] Failed to cast to a concrete class type after sequence's init(elements: Sequence) #52958
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
regression
swift 5.0
Additional Detail from JIRA
md5: 307874635addc56b0dbbc8c59870d49d
duplicates:
Issue Description:
Failed to cast to a concrete class type after sequence's init(elements: Sequence)
Please refer ChartsOrg/Charts#3917
This seems introduced with Xcode 10.2
for code like:
let set = BarChartDataSet(values) is eventually calling
but later in BarChartRenderer's initBuffers() func
it failed to cast to IBarChartDataSet or BarChartDataSet
I checked when break at
set is still BarChartDatSet:
but in
it's
note the pointer address is still the same, but failed to cast to BarChartDataSet or IBarChartDataSet
The text was updated successfully, but these errors were encountered: