Opened 10 years ago

Closed 10 years ago

#445 closed bug (fixed)

newstruct violates internal assumption

Reported by: dreyer Owned by: somebody
Priority: minor Milestone: 3-1-5 and higher
Component: dontKnow Version: 3-1-5
Keywords: Cc:


Singular's debug version shows, that newstructs violate an internal assumption:

> newstruct("HUHU","int i");
> HUHU huhu;
> huhu;
> HUHU(ll);

// ***dError: assume violation at condition: 0 occured at:
   ? HUHU(`list`) failed
   ? error occurred in or before STDIN line 12: `HUHU(ll);`

Change History (1)

comment:1 Changed 10 years ago by hannes

Resolution: fixed
Status: newclosed

could not find user defined types (used as function) in the pre-comouted table. Fix: return 0 ($INVALID) in this case.

Note: See TracTickets for help on using tickets.