Skip to content

Exception for invalid module name uncaught #5273

@yannl35133

Description

@yannl35133

Expected Behavior

Not crashing

Actual Behavior

Internal error, please report upstream including the contents of _build/log.
Description:
  ("Invalid Module_name.t", { s = "03" })
Raised at Stdune__code_error.raise in file "src/stdune/code_error.ml", line
  9, characters 30-62
[...]
Called from Fiber.Execution_context.safe_run_k in file "src/fiber/fiber.ml",
  line 130, characters 8-11

I must not crash.  Uncertainty is the mind-killer. Exceptions are the
little-death that brings total obliteration.  I will fully express my cases. 
Execution will pass over me and through me.  And when it has gone past, I
will unwind the stack along its path.  Where the cases are handled there will
be nothing.  Only I will remain.

Reproduction

mkdir test
dune init library 03
dune build

Specifications

  • Version of dune (output of dune --version): 2.9.1
  • Version of ocaml (output of ocamlc --version): (doubts this has an influence) 4.13.1
  • Operating system (distribution and version): Manjaro Linux

Metadata

Metadata

Assignees

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