Git Product home page Git Product logo

Comments (4)

borkdude avatar borkdude commented on June 3, 2024

ClojureDart could have supported ^:super which would not require any changes to clj-kondo. Are they open to that?

from clj-kondo.

valerauko avatar valerauko commented on June 3, 2024

Turns out it's a bit more complicated than that. In such a context super is actually a type so tagging it as a keyword is not right.

cljd also has support for Dart generic type parameters, which complicates things quite a lot. Example: (the E)
https://github.com/Tensegritics/ClojureDart/blob/fca6e1da6b538a7cb76e08c78856c8741ccb39af/clj/src/cljd/core.cljd#L3159-L3174

from clj-kondo.

borkdude avatar borkdude commented on June 3, 2024

ok, let's just support ^super, it's not super hard to add it if clj-kondo understands that it's processing cljd.

from clj-kondo.

valerauko avatar valerauko commented on June 3, 2024

Confirmed that the above PR resolves the warning.

from clj-kondo.

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.