hyrule
hyrule copied to clipboard
`->` no longer works with dot expression
REPL session
=> (setv x 10)
x = 10
None
------------------------------
=> x.real
x.real
------------------------------
10
=> (. x real)
x.real
------------------------------
10
=> (-> x (. real))
real(x)
------------------------------
Traceback (most recent call last):
File "stdin-32a4586a6638a8de7eec78e48c4e19dfcd34b12b", line 1, in <module>
(-> x (. real))
^^^
NameError: name 'real' is not defined
Expected: (-> x (. real))
should produce 10
just like (. x real)
. It should not produce the error NameError: name 'real' is not defined
.
hyrule version: 0.5.0 Hy version: 0.28