Hi,

We've run across two problems that seem to be known - there's
something on the STATUS list that sounds like them.  Just
wanted to confirm:

1. Operators get confused with the type of enum constants
    and can't figure out they're ints.  Explicit casting working.
    For example, using the enum on p. 41 of the spec,
      writef(:enum val 0x%06xu\n", foo.red)
    works,
      writef("red plane 0x%06xu\n", pixel & foo.red);
    does not, but
      writef("red plane 0x%06xu\n", pixel & (foo.red : uint));
    does.

2. Will it be possible to use a multi-dimensional array as an
    argument?  It generates a compiler error
      > unresolved call 'chpl__buildArrayRuntimeType(nil, type int(64))'
      > note: candidates are: chpl__buildArrayRuntimeType(dom : domain, 
type eltType)

Greg K.

------------------------------------------------------------------------------
_______________________________________________
Chapel-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-bugs

Reply via email to