Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pairs in traits have a Bool value, not Int
  • Loading branch information
moritz committed May 8, 2012
1 parent f9a94d8 commit c2634bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/ChangeLog
Expand Up @@ -6,6 +6,8 @@ New in 2012.05
+ RAKUDOLIB env variable supported in addition to PERL6LIB
+ -I and -M command line options
+ $?LINE and $?FILE variables
+ 'use' can now import by tag name
+ updated calling conventions for traits

New in 2012.04.1
+ autvivification for arrays and hashes
Expand Down
2 changes: 1 addition & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -2838,7 +2838,7 @@ class Perl6::Actions is HLL::Actions {
else {
my %arg;
%arg{~$<longname>} := @trait_arg ?? @trait_arg[0] !!
($*W.add_constant('Int', 'int', 1))<compile_time_value>;
$*W.find_symbol(['Bool', 'True']);
make -> $declarand {
$*W.apply_trait('&trait_mod:<is>', $declarand, |%arg);
};
Expand Down

0 comments on commit c2634bd

Please sign in to comment.