Skip to content

Commit

Permalink
Remove :inline designation for certain core functions (#751)
Browse files Browse the repository at this point in the history
Fixes #746
  • Loading branch information
chrisrink10 authored Dec 29, 2023
1 parent 6f3e5a3 commit a25771a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Fix issue with `ns-resolve` throwing an error on macros (#720)
* Fix issue with py module `readerwritelock` locks handling (#722)
* Fix issue with basilisp.io/writer :append mode not working (#741)
* Fix issue with attempting to inline functions which reference other Python modules that aren't available in the inline destination (#746)

### Removed
* Removed the dependency `astor` for versions of Python 3.9+ (#736)
Expand Down
6 changes: 3 additions & 3 deletions src/basilisp/core.lpy
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@
[x]
(instance? basilisp.lang.interfaces/ICounted x))

(defn ^:inline decimal?
(defn ^:no-inline decimal?
"Return ``true`` if ``x`` is a ``Decimal``\\."
[x]
(instance? decimal/Decimal x))
Expand Down Expand Up @@ -1391,7 +1391,7 @@
[x]
(instance? basilisp.lang.queue/PersistentQueue x))

(defn ^:inline ratio?
(defn ^:no-inline ratio?
"Return ``true`` if ``x`` is a ``Fraction``\\."
[x]
(instance? fractions/Fraction x))
Expand Down Expand Up @@ -1441,7 +1441,7 @@
[x]
(operator/is- x true))

(defn ^:inline uuid?
(defn ^:no-inline uuid?
"Return ``true`` if ``x`` is a UUID."
[x]
(instance? uuid/UUID x))
Expand Down

0 comments on commit a25771a

Please sign in to comment.