Compiler segmentation fault

Bug #538751 reported by jmb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nimrod
Confirmed
Medium
Andreas Rumpf

Bug Description

Nimrod version 0.8.6 on Linux. The following program causes the compiler to segfault:

type
    PNode = ref TNode
    TNode = tuple[self: PNode]

var node: PNode
new (node)
node.self = node

Affecting any variable of type PNode to node.self causes the segfault. Affecting nil doesn't.

Revision history for this message
Andreas Rumpf (rumpf-a) wrote :

Can't say I am suprised given that the compiler does not implement the cycle checking for tuple types that the algorithm from the manual contains.

Changed in nimrod:
importance: Undecided → Medium
assignee: nobody → Andreas Rumpf (rumpf-a)
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.