Skip to content

Can't compile with ReScript v11 #4

Description

@dsiu
$ rescript
rescript: [1/7] src/Internal-RescriptMocha.cmj
FAILED: src/Internal-RescriptMocha.cmj

  We've found a bug for you!
  /Users/dsiu/code/playground/rescript-mocha/src/Internal.res:105:78-127:6

  103 │ /* Constructs a function that can take the options that are normally s
      │ et with `this` in mocha */
  104 │ module With_Options = {
  105 │   let make: Fn_Type.internal_nullary<'result> => Fn_Type.fn<unit, 'res
      │ ult> = (
  106 │     fn,
    . │ ...
  126 │       done_callback()
  127 │     })
  128 │
  129 │   let make': Fn_Type.internal_callback => Fn_Type.fn<(~error: Js.Exn.t
      │ =?, unit) => unit, unit> = (

  This function expected 1 argument, but got 6

FAILED: cannot make progress due to previous errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions