Project

General

Profile

Design #307

Value::from makes BigIntValue::fromInt obsolete?

Added by Anna Maria Bigatti about 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Parser/Interpreter
Target version:
Start date:
12 Feb 2013
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

Description

In BuiltinFunctions there are some calls like BigIntValue::fromInt, BoolValue::fromBool (others?).

But in other similar situations we have just Value::from: I think there used to be a problem with integers, but it that fully solved now? Can we just replace all calls?
If not, when not?

History

#1 Updated by Anna Maria Bigatti over 10 years ago

  • Target version changed from CoCoA-5.0.9 to CoCoA-5.1.0 Easter14

#2 Updated by John Abbott about 10 years ago

  • Target version changed from CoCoA-5.1.0 Easter14 to CoCoA-5.1.1 Seoul14

#3 Updated by Anna Maria Bigatti over 9 years ago

  • Status changed from New to Feedback
  • Assignee set to Anna Maria Bigatti
  • % Done changed from 0 to 90
  • Estimated time set to 1.00 h

I seems it is all done now.
The only call of fromBool is in Value::from.

#4 Updated by Anna Maria Bigatti over 9 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

Also available in: Atom PDF