Skip to content

v1.3.0 compile error when "uncurried": false in Rescript-v11.1.0 #214

Closed
@dsiu

Description

@dsiu

Is "uncurried": false even supported for rescript-core?

FAILED: src/Core__Int.cmj

  We've found a bug for you!
  /Users/dsiu/code/playground/rescript-core/src/Core__Int.res:34:13-35

  32let maybeInt = switch radix {
  33 ┆ | Some(radix) => Core__Float.parseInt(x, ~radix)
  34 ┆ | None => Core__Float.parseInt(x)
  35 ┆ }
  36This call is missing an argument of type (?radix: option<int>)
rescript: [2/32] src/Core__List.cmj
FAILED: src/Core__List.cmj

  We've found a bug for you!
  /Users/dsiu/code/playground/rescript-core/src/Core__List.res:582:39

  580reduceReverseUnsafe(l, acc, f)
  581 │   } else {
  582A.reduceReverseU(toArray(l), acc, f)
  583 │   }
  584 │ }

  This function is a curried function where an uncurried function is expected

FAILED: cannot make progress due to previous errors.
>>>> Finish compiling (exit: 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions