ClojureScript

Circular dependency checking for nses that self-require

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: 1.7.145
  • Fix Version/s: 1.9.76
  • Component/s: None
  • Labels:
    None

Description

Currently triggers StackOverflow

Activity

Hide
Mike Fikes added a comment -

I believe we can close this one:

(ns foo.core
  (:require foo.core))

yields

cljs.user=> (require 'foo.core)
clojure.lang.ExceptionInfo: Assert failed: Circular dependency detected, cljs.user -> foo.core -> foo.core

with the changes made for CLJS-1537.

Show
Mike Fikes added a comment - I believe we can close this one:
(ns foo.core
  (:require foo.core))
yields
cljs.user=> (require 'foo.core)
clojure.lang.ExceptionInfo: Assert failed: Circular dependency detected, cljs.user -> foo.core -> foo.core
with the changes made for CLJS-1537.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: