Skip to content

Commit cfb80ef

Browse files
committed
Refactoring to advance #1306
1 parent 0d3bec5 commit cfb80ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

htmlify.p6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,12 @@ sub MAIN(
195195

196196
say 'Reading type graph ...';
197197
$type-graph = Perl6::TypeGraph.new-from-file('type-graph.txt');
198-
my %h = $type-graph.sorted.kv.flat.reverse;
198+
my %sorted-type-graph = $type-graph.sorted.kv.flat.reverse;
199199
write-type-graph-images(:force($typegraph), :$parallel);
200200

201201
process-pod-dir :topdir('build'), :dir('Programs'), :$sparse, :$parallel;
202202
process-pod-dir :topdir('build'), :dir('Language'), :$sparse, :$parallel;
203-
process-pod-dir :topdir('build'), :dir('Type'), :sorted-by{ %h{.key} // -1 }, :$sparse, :$parallel;
203+
process-pod-dir :topdir('build'), :dir('Type'), :sorted-by{ %sorted-type-graph{.key} // -1 }, :$sparse, :$parallel;
204204

205205
highlight-code-blocks unless $no-highlight;
206206

0 commit comments

Comments
 (0)