Skip to content

Runtime loading of ClojureRS source tree-specific file paths in Environment silently fails, resulting in missing expected bindings/vars/etc #92

Description

@phrohdoh

//
// Read in clojure.core
//
// @TODO its time for a RT (runtime), which environment seems to be becoming
let _ = Repl::new(Rc::clone(&environment)).try_eval_file("./src/clojure/core.clj");
// TODO: should read into namespace if (ns ..) is given in source file
let _ = Repl::new(Rc::clone(&environment)).try_eval_file("./src/clojure/string.clj");

My (Bevy-based) app does not have a src/clojure/core.clj nor a src/clojure/string.clj so the resulting load errors (observed by printing the return value of the try_eval_file calls) are silently ignored/swallowed/eaten/etc (due to the let _ = ...s).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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