\r
\r
import org.simantics.scl.compiler.common.exceptions.InternalCompilerError;\r
+import org.simantics.scl.compiler.common.names.Names;\r
import org.simantics.scl.compiler.constants.DoubleConstant;\r
import org.simantics.scl.compiler.constants.FloatConstant;\r
import org.simantics.scl.compiler.constants.IntegerConstant;\r
if(primitive != null)\r
return primitive;\r
return context.apply(\r
- context.getConstant(SimplificationContext.FROM_INTEGER, getType()),\r
+ context.getConstant(Names.Prelude_fromInteger, getType()),\r
constraint.simplify(context),\r
context.literal(new IntegerConstant(Integer.parseInt(value)))\r
);\r