Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created August 8, 2011 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/1132621 to your computer and use it in GitHub Desktop.
Save jnthn/1132621 to your computer and use it in GitHub Desktop.
diff --git a/src/Perl6/Actions.pm b/src/Perl6/Actions.pm
index 8fa291b..c7a610b 100644
--- a/src/Perl6/Actions.pm
+++ b/src/Perl6/Actions.pm
@@ -3862,7 +3862,8 @@ class Perl6::Actions is HLL::Actions {
if $seen_dot {
return $*ST.add_constant('Rat', 'type_new',
$*ST.add_numeric_constant('Int', $iresult)<compile_time_value>,
- $*ST.add_numeric_constant('Int', $fdivide)<compile_time_value>
+ $*ST.add_numeric_constant('Int', $fdivide)<compile_time_value>,
+ :nocache(1)
);
} else {
return $*ST.add_numeric_constant('Int', $iresult);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment