Opened 9 years ago

Closed 9 years ago

#734 closed bug (fixed)

fetch does not work for lists of type alias

Reported by: steenpass Owned by: somebody
Priority: minor Milestone: 4-1-0 and higher
Component: singular-kernel Version: 4-0-2
Keywords: fetch alias list Cc:

Description

> proc p1(alias list j)
. {
.     def br = basering;
.     ring s = 0, x, ds;
.     list k = fetch(br, j);
.     setring(br);
. }
> ring r = 0, x, dp;
> list l = list(ideal(x));
> p1(l);
   ? identifier j not found in br
   ? error occurred in or before ::p1 line 4: `    list k = fetch(br, j);`
   ? leaving ::p1
   skipping text from `;` error at token `)`
> 

This seems to be related to:

http://www.singular.uni-kl.de:8002/trac/ticket/668

The differences are:

  • Here, the object is a list and not an ideal.
  • The list has a different identifier inside the procedure than on top-level ('j' vs. 'l').

Change History (1)

comment:1 Changed 9 years ago by hannes

Component: dontKnowsingular-kernel
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.