On v. 0.12 the editor cut the struct keyword into stru and ct, concatenated with the next word.
It still works if we replace the end keyword of my examples by anything.
It doesn't work if it's the first or the last token (nothing else than blank before or after), and in some other cases like on my third example.
- Press Enter in the place of the symbol
Ø:
- Press the spacebar selecting the newline after
struct:
- In this configuration the bug doesn't occur:
let f = function
| [] -> struct end
| a::b -> g