`->` no longer works targeting block expressions
I'm not sure when this changed but the following example works on v10 and fails on master: https://rescript-lang.org/try?code=LYewJgrgNgpgBAIQJYDsyoOZwLxwN4BQccALgJ4AO8JBRcAAgM4xpwwAeJMATigIZQ4EZgBUAXHAAUJADRxGJbpgCUOAHxCUSEjjgAiYTBF6CAX1rkqcbjADGIbmADq2gBYjdeAG4CIMCchomAB0JOYEsDr2wABGqDBgujb2jup0yQ5gwT5QfgC0aoTExCBUKIio6CgYdMSGIpJ6rkh6ynTmQA
It's a bit of a weird structure but it did come up in my production codebase when I was trying to test compiler changes I was working on.
We can add this to the release notes.
Ah. I wasn't sure if it was intentional or a bug.
The implementation of -> was over complicated and had many bugs. Now it's simpler. That case looks peculiar and has not been reintroduced.