From 68040e9cbbc30508f5a25f0646ec56b1644c15ff Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Mon, 22 Jan 2018 10:38:03 +0100 Subject: [PATCH 1/3] README entry and tests for Compat.Libdl --- README.md | 4 ++++ test/runtests.jl | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index 046020413..10d0cdf47 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,9 @@ Currently, the `@compat` macro supports the following syntaxes: * `using Compat.Random` is provided on versions older than 0.7, where this library is not yet part of the standard library ([#24874]). +* `using Compat.Libdl` is provided on versions older than 0.7, where this library is + not yet part of the standard library ([#25459]). + ## New functions, macros, and methods * `@views` takes an expression and converts all slices to views ([#20164]), while @@ -473,4 +476,5 @@ includes this fix. Find the minimum version from there. [#25227]: https://github.com/JuliaLang/julia/issues/25227 [#25249]: https://github.com/JuliaLang/julia/issues/25249 [#25402]: https://github.com/JuliaLang/julia/issues/25402 +[#25459]: https://github.com/JuliaLang/julia/issues/25459 [#25629]: https://github.com/JuliaLang/julia/issues/25629 diff --git a/test/runtests.jl b/test/runtests.jl index 3069ee04a..bbe4efc13 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1157,6 +1157,14 @@ end @test parentmodule(Int) == Core @test parentmodule(Array) == Core +# 0.7.0-DEV.3382 +module TestLibdl + using Compat + using Compat.Libdl + using Compat.Test + @test isdefined(@__MODULE__, :Libdl) +end + if VERSION < v"0.6.0" include("deprecated.jl") end From 9b72743a63919277f8076cd41c72a3aed485f8fe Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Mon, 22 Jan 2018 10:38:44 +0100 Subject: [PATCH 2/3] README entry and test for Compat.findall --- README.md | 3 +++ test/runtests.jl | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 10d0cdf47..9543c794c 100644 --- a/README.md +++ b/README.md @@ -297,6 +297,8 @@ Currently, the `@compat` macro supports the following syntaxes: * `module_parent`, `Base.function_module`, and `Base.datatype_module` are now methods of a new function called `parentmodule` ([#25629]). +* `find` is now `findall` ([#25545]). + ## New macros * `@__DIR__` has been added ([#18380]) @@ -477,4 +479,5 @@ includes this fix. Find the minimum version from there. [#25249]: https://github.com/JuliaLang/julia/issues/25249 [#25402]: https://github.com/JuliaLang/julia/issues/25402 [#25459]: https://github.com/JuliaLang/julia/issues/25459 +[#25545]: https://github.com/JuliaLang/julia/issues/25545 [#25629]: https://github.com/JuliaLang/julia/issues/25629 diff --git a/test/runtests.jl b/test/runtests.jl index bbe4efc13..9cf0dbc25 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1165,6 +1165,9 @@ module TestLibdl @test isdefined(@__MODULE__, :Libdl) end +# 0.7.0-DEV.3415 +@test findall(x -> x==1, [1, 2, 3, 2, 1]) == [1, 5] + if VERSION < v"0.6.0" include("deprecated.jl") end From 354500d9d5d49c2b0d2570e28a15e62688390eaa Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Mon, 22 Jan 2018 10:39:07 +0100 Subject: [PATCH 3/3] add link for LinearAlgebra PR --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9543c794c..a588f80fa 100644 --- a/README.md +++ b/README.md @@ -480,4 +480,5 @@ includes this fix. Find the minimum version from there. [#25402]: https://github.com/JuliaLang/julia/issues/25402 [#25459]: https://github.com/JuliaLang/julia/issues/25459 [#25545]: https://github.com/JuliaLang/julia/issues/25545 +[#25571]: https://github.com/JuliaLang/julia/issues/25571 [#25629]: https://github.com/JuliaLang/julia/issues/25629