@@ -1809,15 +1809,7 @@ private Operand buildPostExecution(PostExecutionNode node) {
18091809 return buildPostExe (node .statements , getLine (node ));
18101810 }
18111811
1812- private Operand buildPreExecution (PreExecutionNode node ) {
1813- return buildPreExe (node .statements );
1814- }
1815-
1816- private Operand buildRange (RangeNode node ) {
1817- return buildRange (node .left , node .right , node .isExcludeEnd ());
1818- }
1819-
1820- private Operand buildRational (RationalNode node ) {
1812+ private Operand buildPreExecution (PreExecutionNode node ) { private Operand buildRational (RationalNode node ) {
18211813 if (node .numeric instanceof FloatNode ) {
18221814 BigDecimal bd = new BigDecimal (bytelistFrom (node .numeric ).toString ());
18231815 BigDecimal denominator = BigDecimal .ONE .scaleByPowerOfTen (bd .scale ());
@@ -1829,9 +1821,17 @@ private Operand buildRational(RationalNode node) {
18291821 return new Rational (new Bignum (numerator .toBigIntegerExact ()), new Bignum (denominator .toBigIntegerExact ()));
18301822 }
18311823 }
1832- // FIXME: Meh. will this always work.
1824+
18331825 return new Rational ((ImmutableLiteral ) build (node .numeric ), fix (1 ));
18341826 }
1827+ return buildPreExe (node .statements );
1828+ }
1829+
1830+ private Operand buildRange (RangeNode node ) {
1831+ return buildRange (node .left , node .right , node .isExcludeEnd ());
1832+ }
1833+
1834+
18351835
18361836 private Operand buildRedo (RedoNode node ) {
18371837 return buildRedo (getLine (node ));
@@ -2515,8 +2515,8 @@ private Node[] getKeys(HashPatternNode node) {
25152515 return keys ;
25162516 }
25172517
2518- Operand buildPatternLocal (LocalVariableTargetNode node , Operand value , boolean inAlternation ) {
2519- return buildPatternLocal (value , node .name , getLine (node ), node .depth , inAlternation );
2518+ void buildPatternLocal (LocalVariableTargetNode node , Operand value , boolean inAlternation ) {
2519+ buildPatternLocal (value , node .name , getLine (node ), node .depth , inAlternation );
25202520 }
25212521
25222522 @ Override
0 commit comments