funcool

lilactown 2024-08-06T15:36:10.683229Z

in ClojureScript + promesa, externs inference for symbols bound with p/let doesn't seem to work

lilactown 2024-08-06T15:36:27.398659Z

I can try to create a minimal repro, but is this already known?

niwinz 2024-08-19T18:52:27.296429Z

I don't know if I will be able to solve this from my side, all metadata associated with the symbol is already passed down in a macro

niwinz 2024-08-19T18:53:43.534969Z

cljs makes some magic on its let macro implementation, I will probably need to spend a bit more time and research what cljs does inside for "emulate" the same behavior, for now I suggest just type hint it redundantly

niwinz 2024-08-19T18:55:26.472169Z

I don't think that I will be able to fix it in a reasonable amount of time

niwinz 2024-08-07T14:41:08.850029Z

Hmm, i think i understand that you're saying. And yes, we currently does not forward metadata between symbols, so I think we can improve this.

niwinz 2024-08-07T14:41:40.043149Z

Just open an issue please.

👍🏻 1
lilactown 2024-08-07T16:05:47.025349Z

https://github.com/funcool/promesa/issues/155

❤️ 1
lilactown 2024-08-20T15:48:55.829269Z

OK, maybe I'll take a look at some point