A "reverse" function bug
Bugzilla Link | 848 |
Created on | Jun 30, 2011 11:35 |
Resolution | FIXED |
Resolved on | Jun 06, 2012 20:36 |
Version | svn |
OS | Linux |
Architecture | PC |
Extended Description
Here is a reduced 2.16 listing code from the tutorial (see p.25). use StdIO: all; use Array: all; int main() { vect = [0,1,2,3]; arr3d = { [i,j] -> vect[[i]]*4 + vect[[j]]*16 + vect }; print( reverse(arr3d)); return (0); } This code craches during compilation with such an error: TRAVERSE ERROR: node of type N_tfvertex found where N_avis was expected!