Skip to content

Js.Re.matches -> RegExp.Result.matches - Unexpected bug caused by migration to v12 #8029

@DZakh

Description

@DZakh

https://rescript-lang.org/try?version=v12.0.0-rc.3&module=esmodule&code=DYUwLgBAhhC8EFIBOUDuAKABgbQLqYEoBaAPgCkBnAOgCUQqBbKMAYwAsQKAoL0SAIziIUGHPmIk6AcwCiADwAOtTgFdgYRs3acgA

The automated migration results in a different output, which was very difficult to trace in my case. I spent around 4 hours today (mostly because the issue wasn't reproducing locally)

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