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.
https://rescript-lang.org/try?version=v11.1.4&code=C4TwDgpgBAZgNgQwOZQLxQD5QAIIM4AUADAJRQCCmO+BATGQEIBQTAUngHRwD2SBBDKAC4AfFACWAO2AkSbTjz5EAtCJ4AnOrPldexVRv6DRE6bLntdSg900NVAeQBGAKw4BbZOIDG2y4v01WwIAUnUEAHcCAANaaPMmIA
type flag = | @as(0) A | @as(2) B Js.log(0->lor((B :> int))) // Results with 1 instead of 2