Skip to content

Compiler segfaults on generic illegal recursion #1145

@jbe

Description

@jbe

The following invalid type crashes the compiler:

type
  TPearl[T] = tuple
    next: TPearl[T]

var x: TPearl[int]

# Hint: used config file '/home/jbe/Documents/nimrod/config/nimrod.cfg' [Conf]
# Hint: system [Processing]
# Hint: issue [Processing]
# [1]    4412 segmentation fault  nimrod c -r issue

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions