Skip to content

Assertion violation #34

Closed
Closed

Description

@dselsam
partial def foo : ∀ (n : Nat), State Unit Unit
| n =>
  if n == 0 then pure () else
  match n with
  | 0   => pure ()
  | n+1 => foo n

Produces:

LEAN ASSERTION VIOLATION
File: /home/dselsam/omega/lean4/src/library/compiler/csimp.cpp
Line: 1477
nparams <= k_args.size()
(C)ontinue, (A)bort/exit, (S)top/trap

on Debug build of a1bc316

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