-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roughnum overflow results in internal error #1470
Comments
Jeeeeeeez. Now that I'm looking at js-numbers again, there are a lot more places that need errbacks. (And because JS allows function calls of incorrect arity, we never noticed......) |
2bc5e66 is a first attempt at fixing this, but it's not thoroughly tested. |
@blerner in the chart library I use a lot of these functions that you just add an extra argument. Should they be changed as well? |
That's quite possible, yes. I think any of these functions could theoretically throw a numeric exception, so we need to start from all the exception-raising sites, and work outward to their callers, and outward from there, etc. until we get to either runtime.js or to another direct client of js-numbers. It looks like: ide.js, image-lib.js, world.js, the updated image libraries, d3-lib.js, d3-lib-list.js, plot-lib.js, plot-lib-list.js, chart-lib.js, and output-ui.js all potentially need fixing. (The worst culprit is |
Are we still pushing fixes into the |
Yes.
…On Thu, Jul 25, 2019, 4:11 PM ds26gte ***@***.***> wrote:
Are we still pushing fixes into the horizon branch these days?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1470?email_source=notifications&email_token=AAHAHQDSGMJOB4E37HK7P3LQBICIFA5CNFSM4IG4F2KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD22ULSA#issuecomment-515196360>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHAHQC7XBQZIOMRZ3PLHNDQBICIFANCNFSM4IG4F2KA>
.
|
Well, actually, let's make them PRs based on horizon. There's a *lot* of
stuff in flux and I don't want horizon itself to churn too heavily without
Joe or me right now.
…On Thu, Jul 25, 2019, 4:11 PM ds26gte ***@***.***> wrote:
Are we still pushing fixes into the horizon branch these days?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1470?email_source=notifications&email_token=AAHAHQDSGMJOB4E37HK7P3LQBICIFA5CNFSM4IG4F2KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD22ULSA#issuecomment-515196360>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHAHQC7XBQZIOMRZ3PLHNDQBICIFANCNFSM4IG4F2KA>
.
|
Just saw your PR and tested it for the particular bug reported by @sorawee. You may ignore my other PR as yours subsumes it. Here are my initial notes (which are easily fixable):
(I essentially zeroed in on all cases that use JS to produce a fixnum, either explicitly via a I notice there seems to be a Pyret function called Is it possible to tag along my mods to your commit (is it a PR, I can't see it), or do I just create a separate branch based off your commit? |
|
results in:
This is the same problem as #819.
The text was updated successfully, but these errors were encountered: