Fix duplicate prefer-method: remove stale stub and duplicate core-bindings entry\n\nThe Phase 5 implementation added core-prefer-method and a\ncore-bindings entry, but the old stub definition and its binding\nwere not removed. Janet silently uses the last definition (the\nnil-returning stub), making prefer-method silently broken.\nRemoved both duplicates.
This commit is contained in:
parent
a1bfd55b38
commit
38e48f7c91
1 changed files with 0 additions and 5 deletions
|
|
@ -947,9 +947,6 @@
|
|||
@[{:jolt/type :symbol :ns nil :name "def"} arrow-sym arrow-body]
|
||||
@[{:jolt/type :symbol :ns nil :name "def"} map-sym map-body]])
|
||||
|
||||
# prefer-method stub — multimethod preference ordering
|
||||
(defn core-prefer-method [multifn dispatch-val & dispatch-vals]
|
||||
nil)
|
||||
|
||||
# resolve stub — returns nil (symbols not found in Jolt's clojure.core)
|
||||
(defn core-resolve [sym] nil)
|
||||
|
|
@ -1201,8 +1198,6 @@
|
|||
"IllegalStateException" core-IllegalStateException
|
||||
"definterface" core-definterface
|
||||
"defrecord" core-defrecord
|
||||
"comment" core-comment
|
||||
"prefer-method" core-prefer-method
|
||||
"resolve" core-resolve
|
||||
"update" core-update
|
||||
"copy-core-var" core-copy-core-var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue