1
2
3
4
[<Inline "f();">]
let wrong () = X<unit>
[<Inline "f()">]
let good () = X<unit>

Calling the functions will not result in the same translated code. The first function will be simply missing from the translated js code, while the second one is working correctly.