-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Loosen searchsorted* index type (fixes #30763) #31633
Loosen searchsorted* index type (fixes #30763) #31633
Conversation
1179a40
to
b0165eb
Compare
There were some suggestions left by @StefanKarpinski in 60fc1f9 that were lost because of my force push. Will address those, and loosen the types further to accommodate #31618. |
@StefanKarpinski, one of your recommendation was to change I'm inclined to leave it as |
Tried using
I'll change it back to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Can be merged whenever CI passes.
Travis and AppVeyor pass. Buildbot tests seem unrelated (Cc: @staticfloat): buildbot/testter_macos64:
buildbot/tester_win32:
buildbot/tester_win64:
|
(Should be squashed on merge) |
@staticfloat: I can't tell if these test runs failing is related or not; also, does closing and opening the PR restart these CI runs like it does for other CI services? |
Yes, it will. You can also click on the
I am restarting the windows builds, but IMO this PR is good to go. |
93c5ac4
to
10ff01a
Compare
Rebased to address the The win64 |
The previous errors are gone, but at least one new one has cropped up: a failure while detecting ambiguities in LinearAlgebra on OSX. I did one restart, and the failure is the same.
|
Repeated LinearAlgebra failure: From worker 5: Error During Test at /Users/sabae/buildbot/worker-tabularasa/tester_macos64/build/share/julia/stdlib/v1.3/LinearAlgebra/test/ambiguous_exec.jl:4
From worker 5: Test threw exception
From worker 5: Expression: detect_ambiguities(LinearAlgebra; imported=true, recursive=true) == []
From worker 5: TypeError: in TypeVar, in upper bound, expected Type, got Core.Compiler.UseRef
From worker 5: Stacktrace:
From worker 5: [1] typeintersect at ./reflection.jl:560 [inlined]
From worker 5: [2] #isambiguous#23(::Bool, ::typeof(Base.isambiguous), ::Method, ::Method) at ./reflection.jl:1266
From worker 5: [3] #isambiguous at ./none:0 [inlined]
From worker 5: [4] #detect_ambiguities#30(::Bool, ::Bool, ::Bool, ::typeof(detect_ambiguities), ::Module) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/Test/src/Test.jl:1439
From worker 5: [5] (::getfield(Test, Symbol("#kw##detect_ambiguities")))(::NamedTuple{(:imported, :recursive),Tuple{Bool,Bool}}, ::typeof(detect_ambiguities), ::Module) at ./none:0
From worker 5: [6] top-level scope at /Users/sabae/buildbot/worker-tabularasa/tester_macos64/build/share/julia/stdlib/v1.3/LinearAlgebra/test/ambiguous_exec.jl:4
From worker 5: [7] include at ./boot.jl:328 [inlined]
From worker 5: [8] include_relative(::Module, ::String) at ./loading.jl:1094
From worker 5: [9] include(::Module, ::String) at ./Base.jl:31
From worker 5: [10] exec_options(::Base.JLOptions) at ./client.jl:295
From worker 5: [11] _start() at ./client.jl:464
From worker 5:
From worker 5: ERROR: Error while loading expression starting at /Users/sabae/buildbot/worker-tabularasa/tester_macos64/build/share/julia/stdlib/v1.3/LinearAlgebra/test/ambiguous_exec.jl:4
From worker 5: caused by [exception 1]
From worker 5: There was an error during testing
From worker 5: running testset LinearAlgebra/bunchkaufman... @staticfloat, when restarting the buildbot tests, is the patch reapplied to the latest master, or is the branch compiled and run as is? (In other words, is rebasing on master necessary when errors are fixed. My impression is yes, except maybe on AppVeyor?) Edit: direct link to failed log: https://build.julialang.org/#/builders/69/builds/632 |
The buildbots just check out this branch; so yes you need to rebase to incorporate fixes from |
10ff01a
to
ae48836
Compare
Different error now in error during bootstrap:
LoadError("sysimg.jl", 16, LoadError("/buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.3/LinearAlgebra/src/LinearAlgebra.jl", 355, LoadError("/buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.3/LinearAlgebra/src/triangular.jl", 593, TypeError(:TypeVar, "upper bound", Type, Core.Compiler.UseRefIterator((Core.Compiler.UseRef(nothing, 0), nothing), false)))))
rec_backtrace at /buildworker/worker/package_linux32/build/src/stackwalk.c:94
record_backtrace at /buildworker/worker/package_linux32/build/src/task.c:210 [inlined]
jl_throw at /buildworker/worker/package_linux32/build/src/task.c:417
jl_parse_eval_all at /buildworker/worker/package_linux32/build/src/ast.c:895
jl_load at /buildworker/worker/package_linux32/build/src/toplevel.c:861
exec_program at /buildworker/worker/package_linux32/build/ui/repl.c:35
true_main at /buildworker/worker/package_linux32/build/ui/repl.c:108
main at /buildworker/worker/package_linux32/build/ui/repl.c:217
__libc_start_main at /build/glibc-PNN5fi/glibc-2.19/csu/libc-start.c:287
_start at /buildworker/worker/package_linux32/build/usr/bin/julia (unknown line) |
* Might also address JuliaLang#31618 * Types of start and stop indicies are restricted to Integer and must be the same type * Note that this file is compiled early during bootstrap, and `one` is not yet available
ae48836
to
c2e330b
Compare
Tests have all passed now. Mergeable? |
Bump. |
Union{Int32,Int64}
and must be the same