> 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.

I'm trying to reproduce this problem and not having much luck. What is the 
type of pixel?  Could you send a code snippet demonstrating the issue?


> 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)

Could you send a code snippet for this one too?  It is possible to pass 
multidimensional arrays around as arguments.  The issue may relate more to 
the formal argument type than the actual argument passed...

-Brad


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

Reply via email to