Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ReScript 12 compatibility #78

Closed
@cknitt

Description

@cknitt

When compiled with ReScript 12, the current Interop for the navigator modules as implemented in

exportfunctionadaptNavigatorModule(m){
crashes at runtime with

TypeError: Cannot read property 'make' of undefined

This is because it relies on undocumented internals of ReScript 11, specifically thatNavigator andScreen are treated as reserved words and therefore prefixed with$$ in the JS output (butGroup isn't).

In ReScript 12, this behavior changed withrescript-lang/rescript#6831, andNavigator andScreen are no longer prefixed.

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp