On 18/03/2016 02:40, Michael Norrish wrote:
Under 5.5.1, and after compiling with polyc, the code below gives an assertion violation and core dump:
This was a bug that has been fixed in the current version, 5.6.
Exceptions are raised in the run-time system when it detects errors such as invalid parameters. Assertions are used for errors in the run-time system itself. The idea is to be slightly more helpful than just a segfault with no other information.
David