Trouble scoping functions with module statement in v0.7



Not sure if this is good practice, but in v0.6 I used module to create a scoping level so that a group of related included code wouldn’t have name conflicts with anything else I was writing. Specifically:

module m
import m

function biff(a)
  # blah blah
  x =;
  y =;
  # etc.

When I try this in Julia v0.7 (say, storing the above in biff.jl), I get an error message and the subsequent function (biff) is not parsed or compiled:

julia> include("biff.jl")
ArgumentError: Package m not found in current path:
- Run `Pkg.add("m")` to install the m package.

Please advise.

import .m