Warning when using upper-limit in self-host cljs

Description

Hi!

I have found out that a warning is triggered when upper-limit is used in a self-host environment like lumo. For testing it out, the following can be done:

It seems like the \u unicode notation is not really tranformed because I see the code compiled is something like:

While probably this should be converted to an integer?

Not sure how this should be handled actually.

Environment

None

Activity

Show:
Andrea Richiardi
January 17, 2018, 12:32 AM

Can confirm that changing to:

Get rids of the warning. I don't think it's desirable, just wanted to naively verify.

Andrea Richiardi
January 17, 2018, 12:41 AM

Oh nice catch! I can put a patch together.

Andrea Richiardi
January 17, 2018, 1:07 AM

Ok done, patch attached

Nicola Mometto
January 17, 2018, 9:48 AM
Completed

Assignee

Nicola Mometto

Reporter

Andrea Richiardi

Labels

None

Approval

None

Patch

None

Priority

Minor