From 660ab908f5b116308ee922f3a6960950837db522 Mon Sep 17 00:00:00 2001 From: Logan Wright Date: Fri, 3 Mar 2017 15:54:20 +0100 Subject: [PATCH] fix --- Sources/Node/Core/NodeInitializable.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Sources/Node/Core/NodeInitializable.swift b/Sources/Node/Core/NodeInitializable.swift index 039474f..ce028e8 100644 --- a/Sources/Node/Core/NodeInitializable.swift +++ b/Sources/Node/Core/NodeInitializable.swift @@ -8,11 +8,6 @@ public protocol NodeInitializable { } extension NodeInitializable { - public init(node: W) throws { - let node = Node(node.wrapped, in: node.context) - try self.init(node: node) - } - public init(node representable: NodeRepresentable?, in context: Context? = nil) throws { let node = try representable?.makeNode(in: context) ?? Node(.null, in: context) try self.init(node: node)