Project

General

Profile

Bug #103

Bad error mesg using operator ":"

Added by John Abbott about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Parser/Interpreter
Target version:
Start date:
15 Mar 2012
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:

Description

The session excerpt below contains an erroneous error message.
I think the operator should be just ":" -- it certainly should not be "I:(x-2"!!

I:(x-2);
ERROR: I don't know how to evaluate operator I:(x-2 between IDEAL and RINGELEM

History

#1 Updated by John Abbott about 12 years ago

  • Status changed from New to Closed

Corrected erroneous actual parameters in a call in ColonExpression:implEval in file Interpreter.C.

I simply copied the corresponding lines from PowerExpression::implEval because the similar input I^(x-1) gave the correct error message.

All CoCoA-5 tests passed; hope this means my fix is good.

#2 Updated by Anna Maria Bigatti almost 12 years ago

  • Target version set to CoCoA-5.0.3

#3 Updated by Anna Maria Bigatti almost 12 years ago

  • Assignee set to John Abbott

#4 Updated by Anna Maria Bigatti almost 12 years ago

  • % Done changed from 0 to 100

#5 Updated by Anna Maria Bigatti almost 12 years ago

  • Category set to Parser/Interpreter

Also available in: Atom PDF