title: Assigning `nil` value to a generically typed variable in Swift
body: <p>I think <code>var value: T = nil</code> is causing error below because XCode can't convert <code>nil</code> value to the generic type T.</p>
  
  <pre><code>class Node&lt;T&gt; {
      var value: T = nil
      var next: Node
  
      init(value: T) {
          self.value = value
          self.next = Node()
      }
  
      init() {
          self.next = Node()
      }
  }
  </code></pre>
  
  <p>The error message reads</p>
  
  <blockquote>
    <p>Could not find an overload for '_coversion' that accepts the supplied
    arguments</p>
  </blockquote>
  
  <p>Is there a way to assign <code>nil</code> value to a variable in Swift?</p>