Skip to content

Commit a25771a

Browse files
authored
Remove :inline designation for certain core functions (#751)
Fixes #746
1 parent 6f3e5a3 commit a25771a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3131
* Fix issue with `ns-resolve` throwing an error on macros (#720)
3232
* Fix issue with py module `readerwritelock` locks handling (#722)
3333
* Fix issue with basilisp.io/writer :append mode not working (#741)
34+
* Fix issue with attempting to inline functions which reference other Python modules that aren't available in the inline destination (#746)
3435

3536
### Removed
3637
* Removed the dependency `astor` for versions of Python 3.9+ (#736)

src/basilisp/core.lpy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@
12241224
[x]
12251225
(instance? basilisp.lang.interfaces/ICounted x))
12261226

1227-
(defn ^:inline decimal?
1227+
(defn ^:no-inline decimal?
12281228
"Return ``true`` if ``x`` is a ``Decimal``\\."
12291229
[x]
12301230
(instance? decimal/Decimal x))
@@ -1391,7 +1391,7 @@
13911391
[x]
13921392
(instance? basilisp.lang.queue/PersistentQueue x))
13931393

1394-
(defn ^:inline ratio?
1394+
(defn ^:no-inline ratio?
13951395
"Return ``true`` if ``x`` is a ``Fraction``\\."
13961396
[x]
13971397
(instance? fractions/Fraction x))
@@ -1441,7 +1441,7 @@
14411441
[x]
14421442
(operator/is- x true))
14431443

1444-
(defn ^:inline uuid?
1444+
(defn ^:no-inline uuid?
14451445
"Return ``true`` if ``x`` is a UUID."
14461446
[x]
14471447
(instance? uuid/UUID x))

0 commit comments

Comments
 (0)