Skip to content

Segfault on cyclic trait type parameter bounds. #8762

Closed
@brendanzab

Description

@brendanzab
trait A<T: B>{}
trait B<T: A> {}

boom.

Segmentation fault
application terminated with error code 139

Edit: HAH!

trait A<T:A> {}
Segmentation fault
application terminated with error code 139

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-type-systemArea: Type systemI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions