OCamlPro/typerex — Issue #17: incorrect indentation in records
Author: Guyslain
Created: 2012-02-23 21:23:15+00:00
State: open

Using complex expressions in a record field breaks the indentation:

type r =
{ a : int;
b : int;
c : int
}

let r =
{ a = let x = 42 in
x + 1;
b = let y = 42 in y + 2;
c = 42
}