swift
9ee996cf - Eagerly create init(from:) when looking up 'init' on a Decodable type (#17712)

Commit
7 years ago
Eagerly create init(from:) when looking up 'init' on a Decodable type (#17712) Otherwise, the initializer won't be inherited properly onto a subclass, resulting in the base class being allocated instead of the subclass when using Sub.init(from:). https://bugs.swift.org/browse/SR-8083
Author
Parents
Loading