Skip to content

Reflection warnings #563

@seancorfield

Description

@seancorfield

Describe the bug
The following lines have reflection warnings:

Reflection warning, polylith/clj/core/file/core.clj:43:37 - reference to field toPath on java.lang.Object can't be resolved.
Reflection warning, polylith/clj/core/file/core.clj:43:50 - reference to field exists on java.lang.Object can't be resolved.
Reflection warning, polylith/clj/core/file/core.clj:43:37 - reference to field toPath can't be resolved.
Reflection warning, polylith/clj/core/file/core.clj:43:50 - reference to field exists can't be resolved.
Reflection warning, polylith/clj/core/file/core.clj:64:19 - reference to field delete can't be resolved.
Reflection warning, polylith/clj/core/file/core.clj:65:19 - reference to field mkdirs can't be resolved.
Reflection warning, polylith/clj/core/file/core.clj:66:14 - reference to field getPath can't be resolved.
Reflection warning, polylith/clj/core/file/core.clj:77:5 - reference to field toString can't be resolved.

To Reproduce
Run athos/clj-check over the repo. Or add (set! *warn-on-reflection* true) to that ns and load it.

Expected behavior
No reflection warnings.

Latest ClojureScript support branch version.

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