Jason Bobier

Results 10 comments of Jason Bobier
trafficstars

I am getting this error now too after switching to SPM. Is there a work around? I have multiple frameworks and app linking to Firebase, so I need to use...

This is actually ok for me atm because FirebaseAnalytics is only being used by a single framework on our side. The issue is that other frameworks use other Firebase components...

Especially since Foundation's Decimal causes a fatal error in this simple case: let d = Decimal(exactly: 0) and Apple seems unwilling to fix it (I reported it January 17, 2021).

@xwu *sigh* "Some timeline of their choosing" is accurate. I have bugs from 2003 still open with them.

It also crashes because of missing functionality. `Decimal(exactly: 0)`

I remember you mentioning that when I wrote the initial bug. imo, it definitely makes sense to phase out the old legacy `Decimal` as I don't see any advantages over...

Added a discussion in the swift forums here: https://forums.swift.org/t/consider-fate-of-decimal/64708

Note that this is also prep for an lcm implementation which will be in a separate PR.

Ended up adding the lcm to here as well. With fixed width integers, lcm can overflow fairly often. In that case, this code will throw an error that contains the...