Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[playground] Error: Reference to undefined global #2812

Open
hyphenrf opened this issue Nov 12, 2024 · 0 comments
Open

[playground] Error: Reference to undefined global #2812

hyphenrf opened this issue Nov 12, 2024 · 0 comments

Comments

@hyphenrf
Copy link

It looks like the Bool module is not currently loaded in https://ocaml.org/play

Repro:

  • open the playground
  • type in an expression that uses a Stdlib.Bool function, for example Bool.not true
  • run
  • error message is Error: Reference to undefined global `Stdlib__Bool'

Investigation:

  • tested and failed on ocaml.org under both Firefox and Chromium
  • tested and worked on oscigen's toplevel
  • tested other basic types. found the following also missing: Unit, Either, Weak, ... there may be others
  • could be related: Slim playground #908
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant