title: java.lang.IllegalStateException: SimpleTypeImpl should not be created for error type
body: <p>Have been facing this error after migrating to AndroidX.</p>
  
  <pre><code>java.lang.IllegalStateException: SimpleTypeImpl should not be created for error type: ErrorScope{Error scope for class &lt;ERROR CLASS&gt; with arguments: org.jetbrains.kotlin.types.IndexedParametersSubstitution@14ac19e7}
  </code></pre>
  
  <p>This <a href="https://youtrack.jetbrains.com/issue/KT-16484" rel="noreferrer">link</a> does not help much</p>