Skip to content

Commit 36a7751

Browse files
committed
Fix deprecated code warning (uniq -> unique)
1 parent a3701a0 commit 36a7751

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Perl6/TypeGraph/Viz.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ class Perl6::TypeGraph::Viz {
3838
@.types .= unique;
3939

4040
# Find a new batch of seed nodes
41-
@seeds = uniq(@seeds>>.sub, @seeds>>.doers);
41+
@seeds = unique
42+
(@seeds>>.sub, @seeds>>.doers);
4243

4344
# If we're not growing the node pool, stop trying
4445
last if @.types <= @prev or !@seeds;

0 commit comments

Comments
 (0)