From cb8277c3a273f1976eda5ad640395d26a2f3e91f Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewa Date: Tue, 15 Sep 2020 17:09:44 +0200 Subject: [PATCH] Rename the int64 package (#1148) --- .../{int64 => smallInteger}/AbsNode.java | 2 +- .../{int64 => smallInteger}/AddNode.java | 2 +- .../{int64 => smallInteger}/DivNode.java | 2 +- .../{int64 => smallInteger}/DivideNode.java | 2 +- .../{int64 => smallInteger}/EqualsNode.java | 2 +- .../{int64 => smallInteger}/GreaterNode.java | 2 +- .../GreaterOrEqualNode.java | 2 +- .../{int64 => smallInteger}/LessNode.java | 2 +- .../LessOrEqualNode.java | 2 +- .../{int64 => smallInteger}/ModNode.java | 2 +- .../{int64 => smallInteger}/MultiplyNode.java | 2 +- .../{int64 => smallInteger}/NegateNode.java | 2 +- .../{int64 => smallInteger}/PowNode.java | 8 ++--- .../{int64 => smallInteger}/SubtractNode.java | 2 +- .../ToDecimalNode.java | 2 +- .../interpreter/runtime/builtin/Number.java | 30 +++++++++---------- 16 files changed, 32 insertions(+), 34 deletions(-) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/AbsNode.java (92%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/AddNode.java (95%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/DivNode.java (92%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/DivideNode.java (93%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/EqualsNode.java (90%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/GreaterNode.java (93%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/GreaterOrEqualNode.java (93%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/LessNode.java (93%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/LessOrEqualNode.java (93%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/ModNode.java (92%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/MultiplyNode.java (95%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/NegateNode.java (92%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/PowNode.java (88%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/SubtractNode.java (95%) rename engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/{int64 => smallInteger}/ToDecimalNode.java (80%) diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/AbsNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/AbsNode.java similarity index 92% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/AbsNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/AbsNode.java index a329e846ee3..31c4596e103 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/AbsNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/AbsNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.nodes.Node; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/AddNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/AddNode.java similarity index 95% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/AddNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/AddNode.java index d5d6805a19f..93618b4ce36 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/AddNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/AddNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/DivNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/DivNode.java similarity index 92% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/DivNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/DivNode.java index c0cc3c46d1c..eb9f85c4930 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/DivNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/DivNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/DivideNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/DivideNode.java similarity index 93% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/DivideNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/DivideNode.java index 3266a15928d..b299777bb34 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/DivideNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/DivideNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/EqualsNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/EqualsNode.java similarity index 90% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/EqualsNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/EqualsNode.java index 07614ab5dbe..05d86eb76b0 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/EqualsNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/EqualsNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/GreaterNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/GreaterNode.java similarity index 93% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/GreaterNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/GreaterNode.java index 28af15adc10..9ae88e6688e 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/GreaterNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/GreaterNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/GreaterOrEqualNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/GreaterOrEqualNode.java similarity index 93% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/GreaterOrEqualNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/GreaterOrEqualNode.java index 38f38976065..d20b1145369 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/GreaterOrEqualNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/GreaterOrEqualNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/LessNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/LessNode.java similarity index 93% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/LessNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/LessNode.java index 24a207cf83f..8f38b84dc35 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/LessNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/LessNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/LessOrEqualNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/LessOrEqualNode.java similarity index 93% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/LessOrEqualNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/LessOrEqualNode.java index 2a7f7d48082..ddf1892c4f4 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/LessOrEqualNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/LessOrEqualNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/ModNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/ModNode.java similarity index 92% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/ModNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/ModNode.java index b02b7ab76e8..edb5ad132a9 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/ModNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/ModNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/MultiplyNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/MultiplyNode.java similarity index 95% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/MultiplyNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/MultiplyNode.java index b07ff8a0ed2..d40b369415c 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/MultiplyNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/MultiplyNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/NegateNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/NegateNode.java similarity index 92% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/NegateNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/NegateNode.java index 0573379e374..ba1ea004f72 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/NegateNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/NegateNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.nodes.Node; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/PowNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/PowNode.java similarity index 88% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/PowNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/PowNode.java index bb86db132f7..98ccf6b7348 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/PowNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/PowNode.java @@ -1,23 +1,21 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.nodes.Node; import org.enso.interpreter.dsl.BuiltinMethod; -import org.enso.interpreter.node.expression.builtin.number.utils.BigIntegerOps; import org.enso.interpreter.node.expression.builtin.number.utils.ToEnsoNumberNode; import org.enso.interpreter.runtime.error.TypeError; import org.enso.interpreter.runtime.number.EnsoBigInteger; -import org.enso.interpreter.runtime.type.TypesGen; import java.math.BigInteger; @BuiltinMethod(type = "Small_Integer", name = "^", description = "Exponentation of numbers.") public abstract class PowNode extends Node { private @Child ToEnsoNumberNode toEnsoNumberNode = ToEnsoNumberNode.build(); - private @Child org.enso.interpreter.node.expression.builtin.number.int64.MultiplyNode + private @Child org.enso.interpreter.node.expression.builtin.number.smallInteger.MultiplyNode longMultiplyNode = - org.enso.interpreter.node.expression.builtin.number.int64.MultiplyNode.build(); + org.enso.interpreter.node.expression.builtin.number.smallInteger.MultiplyNode.build(); private @Child org.enso.interpreter.node.expression.builtin.number.bigInteger.MultiplyNode bigIntMultiplyNode = org.enso.interpreter.node.expression.builtin.number.bigInteger.MultiplyNode.build(); diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/SubtractNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/SubtractNode.java similarity index 95% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/SubtractNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/SubtractNode.java index d0f13fa9138..72a74217854 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/SubtractNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/SubtractNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/ToDecimalNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/ToDecimalNode.java similarity index 80% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/ToDecimalNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/ToDecimalNode.java index 89a53a06a53..a87ac7efb2a 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/int64/ToDecimalNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/number/smallInteger/ToDecimalNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.number.int64; +package org.enso.interpreter.node.expression.builtin.number.smallInteger; import com.oracle.truffle.api.nodes.Node; import org.enso.interpreter.dsl.BuiltinMethod; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Number.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Number.java index 07709be05fe..a37694e211a 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Number.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Number.java @@ -40,77 +40,77 @@ public class Number { scope.registerMethod( smallInteger, "+", - org.enso.interpreter.node.expression.builtin.number.int64.AddMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.AddMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "-", - org.enso.interpreter.node.expression.builtin.number.int64.SubtractMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.SubtractMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "*", - org.enso.interpreter.node.expression.builtin.number.int64.MultiplyMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.MultiplyMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "^", - org.enso.interpreter.node.expression.builtin.number.int64.PowMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.PowMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "/", - org.enso.interpreter.node.expression.builtin.number.int64.DivideMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.DivideMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "div", - org.enso.interpreter.node.expression.builtin.number.int64.DivMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.DivMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "%", - org.enso.interpreter.node.expression.builtin.number.int64.ModMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.ModMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "negate", - org.enso.interpreter.node.expression.builtin.number.int64.NegateMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.NegateMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "abs", - org.enso.interpreter.node.expression.builtin.number.int64.AbsMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.AbsMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "==", - org.enso.interpreter.node.expression.builtin.number.int64.EqualsMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.EqualsMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, ">", - org.enso.interpreter.node.expression.builtin.number.int64.GreaterMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.GreaterMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, ">=", - org.enso.interpreter.node.expression.builtin.number.int64.GreaterOrEqualMethodGen + org.enso.interpreter.node.expression.builtin.number.smallInteger.GreaterOrEqualMethodGen .makeFunction(language)); scope.registerMethod( smallInteger, "<", - org.enso.interpreter.node.expression.builtin.number.int64.LessMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.LessMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "<=", - org.enso.interpreter.node.expression.builtin.number.int64.LessOrEqualMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.LessOrEqualMethodGen.makeFunction( language)); scope.registerMethod( smallInteger, "to_decimal", - org.enso.interpreter.node.expression.builtin.number.int64.ToDecimalMethodGen.makeFunction( + org.enso.interpreter.node.expression.builtin.number.smallInteger.ToDecimalMethodGen.makeFunction( language)); }