You can just insert an "open System" after your "module test" line. I find it's a good workaround too.

By on 2/8/2009 10:26 AM ()

The language syntax here is a little nuts.

If you put an '=' after 'module test' then your original first errors will go away (entities must be indented). Then they become entities named e.g. 'Filename.test.x' - you are using the implicit module. Without the '=', you get rid of the implicit module, and the entire file goes in a module named 'test' (e.g. 'test.x'), and you don't indent (apparently indenting makes it a 'do' expression, which is incomplete if it only contains 'let's as there's no body).

I need to write a blog to explain all this in more detail. I'll also file a bug for better error diagnostics.

By on 2/3/2009 1:40 PM ()

It works! Thanks Brian.

By on 2/3/2009 2:14 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