Hm, dunno, I opened bug 4826 in our bug database to either make it legal or improve the diagnostic.

Thanks!

By on 4/13/2009 11:01 AM ()

This should be legal - its a bug

By on 5/7/2009 12:19 PM ()

same here, using version 1.9.9.9. is this already fixed?

1
2
3
4
5
6
7
8
 

override this.Finalize() = 
        try
            Dispose false
        finally
            base.Finalize()

gives: The namespace or module 'base' is not defined

my type does not inherit from any class but System.Object..

is there a workaround to access the base anyway?

kind regards

By on 4/7/2010 9:38 AM ()

I can't speak as to whether or not this issue has been fixed in the RTM version of F#, but in 1.9.9.9 the workaround is the same as in Kurt's original post in this thread: explicitly inherit from obj.

By on 4/7/2010 10:29 AM ()

alright.. i did it like this now. works fine, but as the code is a template for other users to built plugins for our software, i am not really happy about it as is. so, if you hear of a fix, please report here...

thx!

By on 4/7/2010 5:34 PM ()
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