Giter Site home page Giter Site logo

Comments (2)

vmishenev avatar vmishenev commented on August 15, 2024

Related issues: #3317
#3513

Thank you for the reproducer.


The problem is that the Dokka Gradle Plugin wrongly(?) defines jvmAndAndroid as a common platform here.
That means that:

import java.io.File
typealias File = File

java.io.File is unresolved since JDK is only available for a JVM platform.
In K1, it causes a recursion (AssertionError that fails a Dokka run).
In K2, it just leads to an unresolved type.

from dokka.

IgnatBeresnev avatar IgnatBeresnev commented on August 15, 2024

An intermediate solution: do not fail the build to at least let the users build documentation, even if the reference is lost.

Overall, to address the issue properly, we need to investigate how this case should be handled, what the expected behaviour is from Kotlin's perspective, whether such setups are even allowed.

from dokka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.