From d74c2f379e89653e5557ddc03d9e032b252507ac Mon Sep 17 00:00:00 2001 From: Lilith Hafner Date: Sat, 16 Sep 2023 12:59:41 -0500 Subject: [PATCH] test var"#" --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 523ac2c4d..fe39e2cab 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -727,7 +727,7 @@ end module Mod50105 using Compat - @compat public foo, bar, baz + @compat public foo, var"#", baz @compat public @mac1 @compat public f00, @mac2, @mac3 @compat public @mac4, @mac5 @@ -739,7 +739,7 @@ end # foo_50105 = 4 # Uncommenting this line would cause errors due to https://github.com/JuliaLang/julia/issues/51325 @test Base.isexported(@__MODULE__, :foo_50105) === false VERSION >= v"1.11.0-DEV.469" && @test Base.ispublic(@__MODULE__, :foo_50105) - for sym in [:foo, :bar, :baz, Symbol("@mac1"), :f00, Symbol("@mac2"), Symbol("@mac3"), Symbol("@mac4"), Symbol("@mac5")] + for sym in [:foo, Symbol("#"), :baz, Symbol("@mac1"), :f00, Symbol("@mac2"), Symbol("@mac3"), Symbol("@mac4"), Symbol("@mac5")] @test Base.isexported(Mod50105, sym) === false VERSION >= v"1.11.0-DEV.469" && @test Base.ispublic(Mod50105, sym) end