Skip to content

Commit

Permalink
Fix CompUnit.WHICH
Browse files Browse the repository at this point in the history
The CompUnit::Repository::Distribution class *does* exist, but not
at that point when compiling the setting just yet.  So it needs to
be stubbed.
  • Loading branch information
lizmat committed Apr 5, 2022
1 parent 8f5a07d commit 59c9d80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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;
Expand Down

0 comments on commit 59c9d80

Please sign in to comment.