Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix use-ing of modules that are already transitively needed
  • Loading branch information
sorear committed Jun 23, 2011
1 parent c218cfa commit c12e878
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions TODO
Expand Up @@ -99,8 +99,5 @@ Other stuff to do after:
- $_ handling: declare in *every* sub, empty/defouter according to returnable
- cnperl6 prototyping...
- CLR: KISS and then play with async I/O, possibly including soric
- Fix up name handling
- package to class steal
- jnthnian packages
- pm's = hack
- fix { my $x } crash
2 changes: 1 addition & 1 deletion src/Metamodel.pm6
Expand Up @@ -782,7 +782,7 @@ class Unit {
}

method need_unit($u2name) {
return $.tdeps{$u2name} if $.tdeps{$u2name};
return %*units{$u2name} if $.tdeps{$u2name};
my $u2 = %*units{$u2name} //= $*module_loader.($u2name);
$.tdeps{$u2name} = [ $u2.filename, $u2.modtime ];
my @new = $u2name;
Expand Down

0 comments on commit c12e878

Please sign in to comment.