title: Enum value became null when cross referencing. How to solve this issue?
body: <p>I have 2 enums that cross-reference each other</p>
  <pre><code>enum class School(val zone: String, val captain: Student) {
      Metricon(&quot;New York&quot;, Student.David),
      Carlisle(&quot;London&quot;, Student.Paul)
  }
  
  enum class Student(val lastName: String, val school: School) {
      David(&quot;Samuel&quot;, School.Metricon),
      Solomon(&quot;Handsome&quot;, School.Metricon),
      Saul(&quot;Black&quot;, School.Metricon),
      Paul(&quot;Lewis&quot;, School.Carlisle),
      Joseph(&quot;Hardy&quot;, School.Carlisle),
      John(&quot;Baptise&quot;, School.Carlisle),
  }
  </code></pre>
  <p>When I print it out</p>
  <pre><code>        val student = Student.David
          val school = School.Carlisle
  
          println(student.school)
          println(school.captain)
          println(student.lastName)
          println(school.zone)
  </code></pre>
  <p>It resulted in</p>
  <pre><code>Metricon
  null
  Samuel
  London
  </code></pre>
  <p>Notice the <code>null</code> there. The <code>school.captain</code> is missing and became null.</p>
  <p>How can I solve this problem?</p>