I work with multiple files and I have a problem with one mutable field. In file1.ml, I declared:
type mytype = { mutable numbers : int list; }
So in file2.ml I have elements of type mytype. But, when I try to do:
myElement.numbers
The following error is given: Error: Label numbers of residual fields.
Thanks, any help is appreciated.
source share