You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, this is not correct. We need a string "100", not an int 100. But this can not be represented as an enum / polymorphic variant (#"100" just gets reformatted to #100, and as far as I can see it is not currently possible to represent the difference in the AST).
We could use an abstract type + an @obj external make with the @string annotation instead, but this usage of @string is likely to get deprecated in ReScript 11, too.
Activity
cknitt commentedon Oct 17, 2022
Created rescript-lang/syntax#689.
cknitt commentedon Mar 4, 2024
Just noticed that unfortunately fontWeight is broken again since #793.
cknitt commentedon Jul 6, 2024
See react/react-native#45285.
This is a bug in React Native and can be fixed by applying this change using patch-package: https://github.com/facebook/react-native/pull/45299/files