Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*warn-on-reflection* support #881

Closed
ikappaki opened this issue Feb 18, 2024 · 1 comment
Closed

*warn-on-reflection* support #881

ikappaki opened this issue Feb 18, 2024 · 1 comment
Labels
question Further information is requested

Comments

@ikappaki
Copy link
Contributor

Hi,

is reflection checking at runtime relevant in Basilisp, and if so, how difficult would it be to implement the *warn-on-reflection dynamic var to warn of such instances at compile time?

I'm only asking because clojure.pprint does sets this flag at the top while there are many typehints set in the code.

Thanks

@chrisrink10
Copy link
Member

*warn-on-reflection* is not needed in Basilisp. Basilisp has other warnings which cover similar cases, but which are generally set per-session. Type hints are not used by the compiler at all in Basilisp.

@chrisrink10 chrisrink10 added the question Further information is requested label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants