We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
It crashes with Not_found error.
Not_found
To reproduce,
module Js = { let f = () => 1 } let x = Js.f()
Playground, https://rescript-lang.org/try?version=v11.1.3&code=LYewJgrgNgpgBAKQM5wLxwN4Cg51gFzgDM04AKASjQD44BGLAXyywLgA9TkA6IyrIA
Instead of crashing, we should probably throw a better error that a module can't be named Js or something (since we already have Js module).
Js