Skip to content

F* exits when defining type class instance for let recs #3991

@andricicezar

Description

@andricicezar

F* exits when trying to type check this code:

open FStar.Tactics
open FStar.Tactics.Typeclasses

class mytc (#a:Type0) (s:a) = {  e : unit; }

instance mytc_let_rec () : mytc (let rec f x = x in ()) = { e = () }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions