Closed
Description
This code from the official documentation doesn't compile in v12.0.0-alpha.8. It works find in alpha.7. I suppose it is due to the removal of Pervasives.\"="
switch %external(__DEV__) {
| Some(_) => Console.log("dev mode")
| None => Console.log("production mode")
}
Error:
Type Errors
[E] Line 1, column 7:
The value = can't be found in Pervasives
Playground link: here
Thank you for filing! Check list:
- Is it a bug? Usage questions should often be asked in the forum instead.
- Concise, focused, friendly issue title & description.
- A minimal, reproducible example.
- OS and browser versions, if relevant.
- Is it already fixed in master? Instructions
Metadata
Metadata
Assignees
Labels
No labels