Permalink
Browse files

change &c variables to default to a Callable type object

blows up in the optimizer while compiling the setting
  • Loading branch information...
1 parent d8e7b66 commit b0912ac6351244cd1c7700ff398db3a867c14e7a @moritz moritz committed Jul 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/Actions.pm
@@ -153,7 +153,7 @@ class Perl6::Actions is HLL::Actions {
%info<bind_constraint>, [@value_type[0]], nqp::hash());
}
%info<value_type> := %info<bind_constraint>;
- %info<default_value> := $*W.find_symbol(['Any']);
+ %info<default_value> := $*W.find_symbol(['Callable']);
}
else {
%info<container_base> := $*W.find_symbol(['Scalar']);

0 comments on commit b0912ac

Please sign in to comment.