DEV Community

Discussion on: Inlined values in BuckleScript

Collapse
 
yawaramin profile image
Yawar Amin

Hi, no problem. Yes the first code sample looks correct to me. If you add the [@bs.inline] attribute in the correct places as explained in the post, the compiler will generate constant literals at the right places.