2020-01-16 19:36:04 +00:00
|
|
|
[@inline]
|
|
|
|
let x = 1;
|
|
|
|
|
|
|
|
[@inline]
|
2020-03-02 18:01:56 +01:00
|
|
|
let foo = (a : int) : int => {
|
2020-01-16 19:36:04 +00:00
|
|
|
[@inline]
|
|
|
|
let test = 2 + a;
|
|
|
|
test;
|
|
|
|
};
|
|
|
|
|
|
|
|
[@inline][@other]
|
|
|
|
let y = 1;
|
|
|
|
|
2020-03-02 18:01:56 +01:00
|
|
|
let bar = (b : int) : int => {
|
2020-01-16 19:36:04 +00:00
|
|
|
[@inline][@foo][@bar]
|
2020-03-02 18:01:56 +01:00
|
|
|
let test = (z : int) => 2 + b + z;
|
|
|
|
test (b);
|
2020-01-21 18:35:36 +01:00
|
|
|
};
|