Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 14 20:25
    scala-steward opened #311
  • Sep 10 22:28

    cquiroz on master

    Update scalafmt-core to 3.0.3 Reformat with scalafmt 3.0.3 Merge pull request #310 from sc… (compare)

  • Sep 10 22:28
    cquiroz closed #310
  • Sep 10 16:40
    scala-steward opened #310
  • Sep 04 02:19

    cquiroz on master

    Update scalafmt-core to 3.0.2 Reformat with scalafmt 3.0.2 Merge pull request #309 from sc… (compare)

  • Sep 04 02:19
    cquiroz closed #309
  • Sep 03 22:44
    scala-steward opened #309
  • Sep 01 17:05

    cquiroz on master

    Update scala3-library, ... to 3… Merge pull request #308 from sc… (compare)

  • Sep 01 17:05
    cquiroz closed #308
  • Sep 01 14:47
    scala-steward opened #308
  • Sep 01 12:46

    cquiroz on master

    Bump olafurpg/setup-scala from … Merge pull request #307 from cq… (compare)

  • Sep 01 12:46

    cquiroz on github_actions

    (compare)

  • Sep 01 12:46
    cquiroz closed #307
  • Sep 01 12:00
    dependabot[bot] labeled #307
  • Sep 01 12:00
    dependabot[bot] opened #307
  • Sep 01 12:00

    dependabot[bot] on github_actions

    Bump olafurpg/setup-scala from … (compare)

  • Aug 28 14:44

    cquiroz on master

    Update scala-library to 2.12.14… (compare)

  • Aug 28 14:44
    cquiroz closed #290
  • Aug 28 02:48
    scala-steward synchronize #290
  • Aug 28 01:29

    cquiroz on master

    Update scalafmt-core to 3.0.1 Reformat with scalafmt 3.0.1 Merge pull request #306 from sc… (compare)

Carlos Quiroz
@cquiroz
Can you reproduce it calling the method outside Circe?
Matthew de Detrich
@mdedetrich
This is happening at compile time though, not at runtime?
or on fastOptJs I think
Matthew de Detrich
@mdedetrich
it appears to be some sought of linking error
Carlos Quiroz
@cquiroz
Circe was producing a minimal java time package just to get to compile, perhaps that is still present in your case?
I use Circe on my scala.js projects just fine, though I don’t recall if there are date fields on the Json structured
Matthew de Detrich
@mdedetrich

Circe was producing a minimal java time package just to get to compile, perhaps that is still present in your case?

You mean the dependency wasn't being overwritten? Let me ask in Circe then

Carlos Quiroz
@cquiroz
I’m not sure how that works on the circe side. but the scala.js linker gets very confused if there are two packages providing the same set of classes
Matthew de Detrich
@mdedetrich
Hmm, so should I be including circe-generic or something else
Matthew de Detrich
@mdedetrich
@cquiroz Do you have any tips on how to resolve this issue? I am kinda stuck here and Travis understandably doesn't want to help because hes sick of the fragmentation caused by not having java-time in standard Scala.js
Carlos Quiroz
@cquiroz
Do you think this could be reproduced without circe?
The method in particular is implemented at
It would be interesting to see a minmial reproduction with or without circe
Matthew de Detrich
@mdedetrich
Yeah I will work on a reproduction
Also its many methods, not just that one
Matthew de Detrich
@mdedetrich
So I figured out the issue,probably due to some dependency resolution
Assuming you have a shared frontend/backend project (where you have js/shared/jvm), putting scala-java-time in both shared and js caused the issue
Putting it in only shared fixed the problem
Carlos Quiroz
@cquiroz
Hmm, ok it maybe there twice and it confuses the linked
Linker
Matthew de Detrich
@mdedetrich
Aren't you only meant to resolve a single jar only once or am I missing something here?
In any case I am happy it was resolved
Carlos Quiroz
@cquiroz
I think resoultion works fine at compilation time
But it is undefined on the linker, at any rate it is more of a question for scala.js
Matthew de Detrich
@mdedetrich
Okay I will make an issue for it
Lorenzo Gabriele
@lolgab
Hi @cquiroz,
I wanted to port scala-java-time to Scala Native :)
I started with scala-java-locales but I can't find where is "cldr-api" dependency's repository.
Is it on github?
Lorenzo Gabriele
@lolgab
Thank you @plokhotnyuk :pray:
Carlos Quiroz
@cquiroz
Yes the api comes along with the sbt plugin
The api is really small should be easy to include native support there
Lorenzo Gabriele
@lolgab
I'm already doing it :)
I will send you a PR soon :)
Lorenzo Gabriele
@lolgab
@cquiroz PR ready for review here: cquiroz/sbt-locales#93
cquiroz
@cquiroz:matrix.org
[m]
@loglab I have troubles with the publication with native
Do you know about this:
Lorenzo Gabriele
@lolgab
Scala Native is published only for 2.12.13. Strange that this is triggered only publishing...
I'm giving a look
David Hoyt
@davidhoyt
@lolgab @cquiroz came here to see if cldr-api could get published for scala native and looks like you've beat me to the punch :)
this would be published against scala 2.13 as well, right?
David Hoyt
@davidhoyt
Looks like it was resolved in master AFAICT. publishLocal works.
(I removed skip in publish for native and it worked)
Carlos Quiroz
@cquiroz
We had some troubles publishing for native if I recall
David Hoyt
@davidhoyt
from what I read that was due to using the wrong version of 2.12. might work now that that's been fixed.
@lolgab @cquiroz ultimately I'm trying to get zio built w/ scheduler support
Carlos Quiroz
@cquiroz
Do you think it was fixed without requiring a change in cldr?
Anyway feel free to send a PR with a fix and I will make a release ASAP
David Hoyt
@davidhoyt
Hard to tell if it will only manifest when you go to actually publish
I didn't fix anything
I did remove the skip in Publish for native
I verified it worked for me with publishLocal but that's as far as I can go to validate it