Skip to content

Choose a tag to compare

@Julow Julow released this 27 Apr 16:07
· 0 commits to main since this release

CHANGES:

  • Compatibility with OCaml 5.4 and 5.5

  • Generate Promise.await for bound expression that are not function
    applications.
    For example,

    let x = async_operation () in
    let* y = x in
    ..

    is transformed to:

    let x = async_operation () in
    let y = Promise.await x in
    ..

    This will likely result in a compiler error, that can easily be fixed instead
    of a silent change in the program behavior.