The code:

    proc thing(d: [?] real) {
      record ValueSort { }
      Sort.sort(d);
    }

    proc main(){}

gives the error:


    |> chpl nestedRecord.chpl 
    nestedRecord.chpl:2: internal error: RES0091 chpl Version 1.13.1.aff56b0

    Internal errors indicate a bug in the Chapel compiler ("It's us, not you"),
    and we're sorry for the hassle.  We would appreciate your reporting this 
bug -- 
    please see     http://chapel.cray.com/bugs.html     for instructions.  In 
the meantime,
    the filename + line number above may be useful in working around the issue.


comment out the record declaration and it compiles fine.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to