-
-
Save hoelzro/2f20982533014c1c9874 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/CompUnit/Repository/Locally.pm b/src/core/CompUnit/Repository/Locally.pm | |
index bab6b34..cd1a330 100644 | |
--- a/src/core/CompUnit/Repository/Locally.pm | |
+++ b/src/core/CompUnit/Repository/Locally.pm | |
@@ -3,9 +3,8 @@ role CompUnit::Repository::Locally { | |
has IO::Path $.prefix is required; | |
has Str $.WHICH; | |
- my %instances; | |
- | |
method new(CompUnit::Repository::Locally: Str:D :$prefix, CompUnit::Repository :$next-repo) { | |
+ state %instances; | |
my $abspath := $*SPEC.rel2abs($prefix); | |
my $IO := IO::Path.new-from-absolute-path($abspath); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment