Closed kevin1 closed 8 years ago
type t = { a = "hi" } t = { (init t) (init t) } PrintEndline t.(0).a
gives the following error: "Incorrect types passed into function PrintEndline"
However, changing the last line to PrintEndline (t.(0).a) gives "a referenced before initalization"
PrintEndline (t.(0).a)
Once this is fixed, the test array_music_pitch can be less stupid
I'm an idiot -- keep forgetting we use $ rather than . for properties. Once I filed #128 I realized that was the real problem.
$
.
gives the following error: "Incorrect types passed into function PrintEndline"
However, changing the last line to
PrintEndline (t.(0).a)
gives "a referenced before initalization"