Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

How does @inline actually work?

$
0
0

You’re supposed to put @inline annotations in both .res and .resi files, if you use an interface file and don’t add the annotation there too, the compiler simply can’t know the implementation required @inline.

Beware though, @inline doesn’t work with functions for example.


Viewing all articles
Browse latest Browse all 2592

Trending Articles