I was trying to use a fsi file to allow mutually recursive classes in separate files, but my fsi file did not compile. Below is a simple example which demonstrates the problem.
File program.fs:
module mod1
type first =
|zero = 0
File File1.fs:
module mod2
type second =
|zero2 = 0
Compiling with --sig:signature.fsi
produces:
#light
module mod1
type first =
| zero = 0
module mod2
type second =
| zero2 = 0
Which has an error on the line
type second
Which is
Error 1 Unexpected keyword 'type' in signature file. Expected ':', '=' or other token.