Permalink
Browse files

more temporary work-arounds :(

  • Loading branch information...
1 parent 438f493 commit c05df703b5d75fe7d6f4d14e59161796f7cc6413 @jasonmay committed Jan 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/IoC/ConstructorInjection.pm6
@@ -22,7 +22,7 @@ class IoC::ConstructorInjection does IoC::Service {
%params{$pair.key} = $!container.fetch($pair.value).get();
};
- return $!class.new(|%params);
+ return eval("{$!class}.new(|%params)");
}
};

0 comments on commit c05df70

Please sign in to comment.