Zulip Chat Archive

Stream: lean4

Topic: Panic in nearly empty file


Thomas Murrills (Nov 21 2025 at 19:52):

The following panics:

import Lean

/--/

PANIC at Lean.EnvExtension.modifyState Lean.Environment:1388:15: called on async extension, must set asyncDecl in that case
backtrace:
PANIC at Lean.EnvExtension.modifyState Lean.Environment:1388:15: called on async extension, must set asyncDecl in that case
backtrace:

(duplication sic)

It seems the import is necessary. :)

Julian Berman (Nov 21 2025 at 19:56):

Sounds like #lean4 > panic on doc-string has risen from the dead.

Thomas Murrills (Nov 21 2025 at 19:57):

I thought I had seen this before somewhere! :)

Kim Morrison (Nov 23 2025 at 10:26):

Could you please open an issue?

Markus Himmel (Nov 23 2025 at 10:36):

May or may not be a duplicate of lean4#10756.


Last updated: Dec 20 2025 at 21:32 UTC