You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While both have the exact same result, running (set! *warn-on-reflection* true) reveals the one using -<> is not preserving the type hint on the generated code, while the one using as-> does.
Is this intended, or you think it could be fixed?
Btw, many thanks for the great library!
The text was updated successfully, but these errors were encountered:
setzer22
changed the title
Properly preserve symbol metadata (e.g. type hints)
Preserve symbol metadata (e.g. type hints)
Feb 18, 2020
When using some of the arrow macros, like
-<>
, it seems type hinting does not work. Consider the following two examples:While both have the exact same result, running
(set! *warn-on-reflection* true)
reveals the one using-<>
is not preserving the type hint on the generated code, while the one usingas->
does.Is this intended, or you think it could be fixed?
Btw, many thanks for the great library!
The text was updated successfully, but these errors were encountered: