Opened 8 years ago

Closed 8 years ago

#668 closed bug (fixed)

fetch does not work for objects of type alias

Reported by: steenpass Owned by: somebody
Priority: minor Milestone: 4-1-0 and higher
Component: dontKnow Version: 4-0-1
Keywords: alias, fetch Cc:

Description

> proc p1(alias ideal i)
. {
.     def br = basering;
.     ring s = 0, x, ds;
.     ideal i = fetch(br, i);
.     setring(br);
. }
> ring r = 0, x, dp;
> ideal i = x;
> p1(i);
   ? cannot map i of type alias(402)
   ? error occurred in or before ::p1 line 4: `    ideal i = fetch(br, i);`
   ? expected ideal-expression. type 'help ideal;'
   ? leaving ::p1
   skipping text from `;` error at token `)`
> 

Change History (1)

comment:1 Changed 8 years ago by hannes

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.