Skip to content

Single line comments do not work in "Try" section of the website #785

@gabriel-bezerra

Description

@gabriel-bezerra

https://reasonml.github.io/en/try?rrjsx=true&reason=PTAEBsFMBdQQ1AXlNATgV0gKCrByAzOcAZ0iA

// let a = true
let a = false

shows

Line 1:1-2 <syntax error>

I tried the same with reason locally and it does not show the same error at version 3.11.0 and ocaml-base-compiler at 5.1.0. I didn't figure out how to get version 3.12.0 to test it too.

$ opam install 'reason>=3.12.0'
[ERROR] Package reason has no version >=3.12.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions