I was playing around with some example code today and managed to get the
compiler to generate an internal error when I was (incorrectly) trying to
construct an integer:
writeln(int(64)(42));
>
This will cause the compiler to generate an error by calling
`Type::getField` on something that isn't an AggregateType (type.cpp:77).
This call is made in the preFold function (functionResolution.cpp:4372).
The fix for this wasn't immediately obvious to me, so I thought I would
submit it to the list.
- Chris
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers