Skip to content

Commit 75d5588

Browse files
authored
Add missing PARTITION_KIND_CONST_IMPORT case to print_partition (#58006)
1 parent 9af9650 commit 75d5588

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

base/show.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3414,6 +3414,9 @@ function print_partition(io::IO, partition::Core.BindingPartition)
34143414
elseif kind == PARTITION_KIND_CONST
34153415
print(io, "constant binding to ")
34163416
print(io, partition_restriction(partition))
3417+
elseif kind == PARTITION_KIND_CONST_IMPORT
3418+
print(io, "constant binding (declared with `import`) to ")
3419+
print(io, partition_restriction(partition))
34173420
elseif kind == PARTITION_KIND_UNDEF_CONST
34183421
print(io, "undefined const binding")
34193422
elseif kind == PARTITION_KIND_GUARD

0 commit comments

Comments
 (0)