Project

General

Profile

Bug #487

Error type message

Added by iri about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
09/21/2014
Due date:
% Done:

100%

Estimated time:

Description

Found type and expected type are reversed.

In typmisc.cpp, the TPunif function should be :

int TPunif(mmachine m, manlyz z,int x,int y)
{
    int k,l;

    if ((l=TPunif2(m,z,x,y))==0) return 0;
    MMpushNoGC(m,x);
    if (MMpush(m,y)) return MERRMEM;
    if (k=TPsolvenode(m)) return k;
    if (MMpush(m,MMget(m,1))) return MERRMEM;
    if (k=TPsolvenode(m)) return k;
  //$BB put error message into z manlyz structure buffer
  sprintf(z->mess,">>> ERROR - Type mismatch (detail):\nExpected:    %s\nFound: %s\n<<<\n",
    //MMechostr(MSKRUNTIME,">>> ERROR - Type mismatch (detail):\nFound:    %s\nExpected: %s\n<<<\n",
        MMstart(m,MMget(m,0)>>1),MMstart(m,MMget(m,1)>>1));
    return l;
}

Associated revisions

Revision 6652 (diff)
Added by arkeon about 5 years ago

KERNEL :
closes #487
- correction on reverted type check message

Revision 6652 (diff)
Added by arkeon about 5 years ago

KERNEL :
closes #487
- correction on reverted type check message

History

#1 Updated by arkeon about 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r6652.

Also available in: Atom PDF