it is probably caused by --ml-compatability flag

By on 12/10/2007 7:52 AM ()

This would certainly seem to be the case, my simple repo (shown below) compiles fine without the flag, but I get a syntax error when using the --ml-compatablility flag.

1
2
3
4
5
6
7
type SIP_Core() = class
end

type sip_core_wrapper = class
   inherit SIP_Core  
   override x.ToString() = "ToString" 
end

Using this flag when working with .NET assemblies and the F# class would seem inappropriate. You can not achive OCaml compatablity because class in OCaml and F# are completely different.

HTH,
Rob

By on 12/10/2007 9:19 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper