Skip to content
Browse files

pairs in traits have a Bool value, not Int

  • Loading branch information...
1 parent f9a94d8 commit c2634bdc9ec5bd0b373d8e6db826cdd19890ea4d @moritz moritz committed May 8, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 docs/ChangeLog
  2. +1 −1 src/Perl6/Actions.pm
View
2 docs/ChangeLog
@@ -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
View
2 src/Perl6/Actions.pm
@@ -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);
};

0 comments on commit c2634bd

Please sign in to comment.
Something went wrong with that request. Please try again.