Skip to content

Problems using FSI on multiple namespaces in a single file #237

@isaacabraham

Description

@isaacabraham

Somewhat related to #44. The following single (valid) .fs file with the following two dependent namespaces will not compile in FSI:

namespace Foo
type Name = Name of string

namespace Bar
open Foo
type Person = Person of Name

with the error

Library1.fs(7,6): error FS0039: The namespace or module 'Foo' is not defined

There doesn't seem to be a workaround for this - with #44 you could work around it within the .fsx by manually adding open statements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions