Closed jcmrva closed 2 years ago
@jcmrva The attribute is only applied to the module itself, not to the containing namespace. The language spec says that this attribute will open Utils
module automatically when a Example
namespace is opened.
@auduchinok Thanks, yes, this is correct - this is by design
The AutoOpen attribute appears to be ignored on top-level modules that include a qualified namespace.
Repro steps
let tee fn v = fn v v
module Say
let hello name = name |> tee (printfn "Hello %s") // err |> ignore