-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fix show_src_expr
on 32 bit Julia
#525
Conversation
`_lastidx` is a `UInt32`, so the result of `catchup` ends up a `UInt32`. This then gets assigned to `position` (line 80) which is expected to be an `Int`. I didn't convert `_lastidx` to an `Int` because I thought converting the return value might minimise the chances of an InexactError.
show_src_expr
on 32 bit Julia
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #525 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 9 9
Lines 1551 1551
======================================
Misses 1551 1551 ☔ View full report in Codecov by Sentry. |
Perhaps we should add some x86 CI. |
Were you able to get this to run on
|
Odd I thought it was fixed locally, but I do see the same error though subtly different. |
You need to fetch the version of TypedSyntax from this fork as well by doing |
Ah nice, that did the trick, thanks! I'm able to use |
I see the same CI errors on master and on a new pr, so going to merge this in. |
Fixes #524.
_lastidx
is aUInt32
, so the result ofcatchup
ends up aUInt32
. This then gets assigned toposition
(line 80) which is expected to be anInt
. I didn't convert_lastidx
to anInt
because I thought converting the return value might minimise the chances of an InexactError.