thoughtbot / CombineViewModel

An implementation of the Model-View-ViewModel (MVVM) pattern using Combine.
MIT License
59 stars 4 forks source link

Work around segfault compiling ObjCRuntime.swift in Release config #14

Closed sharplet closed 4 years ago

sharplet commented 4 years ago

When the local variable class is declared as type AnyClass, the compiler segfaults on line 43 when it is coerced to type Any. Avoiding AnyClass altogether works around the segfault.