[#538] make uberscript more accepting
This commit is contained in:
parent
418f00eb64
commit
4dd102ca19
2 changed files with 3 additions and 3 deletions
2
sci
2
sci
|
|
@ -1 +1 @@
|
|||
Subproject commit c363caf975e6e98fadfb1adf9582d7f1ef6017fb
|
||||
Subproject commit 4f40b916faa394c37447c99da2e9f2605dc62d87
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
(ns my.main
|
||||
(:require [my.impl :as impl] ;; my.impl is already loaded, so it will not be loaded again (normally)
|
||||
[my.impl2] ;; but my.impl2 also loads my.impl
|
||||
[my.impl3 :as impl3]))
|
||||
[my.impl3 :refer [foo]]))
|
||||
|
||||
(defn -main [& args]
|
||||
;; this function is defined non-top-level and may cause problems
|
||||
(impl3/foo)
|
||||
(foo)
|
||||
;; this should just return args
|
||||
(impl/impl-fn args))
|
||||
|
|
|
|||
Loading…
Reference in a new issue