From 59c9d80b3ef9e882ce9868a6c71cf695ef26603d Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Tue, 5 Apr 2022 18:28:37 +0200 Subject: [PATCH] Fix CompUnit.WHICH The CompUnit::Repository::Distribution class *does* exist, but not at that point when compiling the setting just yet. So it needs to be stubbed. --- src/core.c/CompUnit.pm6 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core.c/CompUnit.pm6 b/src/core.c/CompUnit.pm6 index 30b520879e8..30b1dfb64a5 100644 --- a/src/core.c/CompUnit.pm6 +++ b/src/core.c/CompUnit.pm6 @@ -1,3 +1,5 @@ +class CompUnit::Repository::Distribution { ... } + class CompUnit { has Str:D $.from is built(:bind) = 'Perl6'; has Str:D $.short-name is built(:bind) is required;