I don’t think this is a general rule, and it’s likely not the case for rescript-compiler.
Sure, testing new features is always fun! But I think reporting issues for code that is not released even in beta is probably not very useful at this point yet.
That seems strange to me. I figure we would want to know about it if its in the master branch. Figured if some code was not ready to be consumed as beta it might be in some other branch. Clearly a bad assumption. Thanks for taking the time to explain.
You would not happen to know how to address that error though, would you? I tried a bunch of different ways and keep getting the error for string literal. Works for int with @as(3) for example.
I’m pretty sure the new changes in master make " " behave like ` ` without interpolation, so in places where you could only use " " and not ` ` like in @as I guess you can’t use a string literal for now. Hongbo is likely working on some followup PR for that.