diff --git a/CHANGELOG.md b/CHANGELOG.md index bd6e0968..042e82b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,9 @@ _None_ ### Bug Fixes -_None_ +- Fix bug in `LazyValueWrapper`, causing it to never resolve. + [David Jennes](https://github.com/djbe) + [#328](https://github.com/stencilproject/Stencil/pull/328) ### Internal Changes diff --git a/Sources/Stencil/LazyValueWrapper.swift b/Sources/Stencil/LazyValueWrapper.swift index fc9cd350..f4d205b1 100644 --- a/Sources/Stencil/LazyValueWrapper.swift +++ b/Sources/Stencil/LazyValueWrapper.swift @@ -61,9 +61,3 @@ extension LazyValueWrapper: Resolvable { return try (value as? Resolvable)?.resolve(context) ?? value } } - -extension LazyValueWrapper: Normalizable { - public func normalize() -> Any? { - (cachedValue as? Normalizable)?.normalize() ?? cachedValue - } -}