Skip to content

Static method invocation + type hint not working #823

@borkdude

Description

@borkdude

See babashka/babashka#1409

The issue here is that clojure.lang.Reflector looks at the runtime values of arguments but if such a value is nil it qualifies as basically anything.

It might be better if we starter supporting intercepting method invocations so users can handle these, also for performance.

:classes {java.nio.file.FileSystems {:static-methods {newFileSystem (fn ...)}}}

or so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions