cljs-dev

ClojureScript compiler & std lib dev, https://clojurescript.org/community/dev
dnolen 2020-04-14T00:28:25.050200Z

@niwinz it's hard for me understand that issue - the comments seem to say suggest there is a workaround?

niwinz 2020-04-14T06:42:26.050800Z

That issue was reported a long time ago, i try to have time to check it aggain on the current cljs compiler. In any case, for complete reproducible steps, look at the referenced issue: https://clojure.atlassian.net/browse/CLJS-1682 , the CLJS-2399 is a regression.

dnolen 2020-04-14T12:05:40.052700Z

@niwinz let's not use threads thanks - what I mean is that issue just has irrelevant information, and too much information - so I can't really understand it nor want to spend a lot of time to understand it if it can be made clearer first

dnolen 2020-04-14T12:06:06.053700Z

first, let's not talk about other versions in that ticket - only master

dnolen 2020-04-14T12:06:29.054500Z

second, we have test cases for ES6 modules - what's the difference between this ticket and the fact that the ES6 test has always passed

dnolen 2020-04-14T12:06:48.055100Z

then when I look at I can have some idea of what's going on

niwinz 2020-04-14T12:08:05.056500Z

as i have said, this issue is too old, on the past I have had many problems using ES6 modules declared on deps.cljs (take care that the same code but using :foreign-libs on the compiler options directly was working correctly)

niwinz 2020-04-14T12:08:25.057300Z

I try to take some time and check it again with the current master

niwinz 2020-04-14T12:08:56.058200Z

and i ping you with any result 😄

dnolen 2020-04-14T12:08:56.058400Z

yes I understand, the ES6 modules stuff doesn't get that much usage so I'm not surprised there are issues

dnolen 2020-04-14T12:09:20.059100Z

but it would be nice to separate these issus into distinct simple cases that we can go through one by one

dnolen 2020-04-14T12:09:53.060300Z

and again the ticket needs to be reconciled w/ the fact that the tests work - if you don't have time for that - at least capture that bit in the issue

niwinz 2020-04-14T12:10:54.061300Z

i think the ticked is pretty clear with a very simple reproducible case (as said, was reproducible in the time of creating the ticket)

dnolen 2020-04-14T12:14:53.062400Z

just because a ticket has reproducible case doesn't mean I'm going to look at

dnolen 2020-04-14T12:15:12.062900Z

people report all kinds of tickets with reproducible cases that there just isn't enough information to consider

dnolen 2020-04-14T12:15:47.063500Z

the repro is necessary but it isn't sufficient for a ticket that's straightforward to assess

dnolen 2020-04-14T12:16:31.064400Z

anyways more work has to be spent on that ticket before I'm personally going to spend time on it - also anybody else can attempt to add more information or cleanup that ticket

dnolen 2020-04-14T12:16:39.064700Z

@niwinz I'm not suggesting it has to be you

dnolen 2020-04-14T12:26:46.065800Z

also @niwinz note the comment - Bobby Calderwood appeared to have a solution - does that or does that not work for you?

dnolen 2020-04-14T12:27:00.066500Z

if that does work for you then I can know that the fix is easy

dnolen 2020-04-14T12:27:12.066900Z

if doesn't work for you then we know we need more information

dnolen 2020-04-14T12:27:17.067400Z

I removed all the unnecessary information from the ticket

dnolen 2020-04-14T12:27:58.068100Z

and called explicitly in the ticket is a reported regression

niwinz 2020-04-14T12:33:25.072600Z

i understand, but i don't have time to look inside the compiler. My main use case for this is being able to write some javascript and incluide it together with cljs in a library. I tried several times use the es6 and commonjs module transformations and it din't worked reliably; so I stick with the plain closure files (that are imporable directly in cljs like any other cljs namespace) or using the shadow-cljs facilities that works just out of the box

dnolen 2020-04-14T12:38:23.073400Z

I understand - please try installing the missing NPM dep and see if that fixes your issue, if not say so in the ticket

dnolen 2020-04-14T12:38:48.073800Z

then we don't lose this information when we actually have time to look at it closely