Closed GoogleCodeExporter closed 8 years ago
Not a bug. See
http://docs.pure-lang.googlecode.com/hg/pure.html#symbol-lookup-and-creation.
You're trying to introduce new qualified identifiers outside their home
namespace, which is forbidden. The solution is to just declare the symbols in
their proper namespace beforehand:
using system;
public bar1 bar2;
namespace ns;
foo x = puts $ str x;
::bar1 x = foo x;
::bar2 x = ns::foo x;
Original comment by aggraef@gmail.com
on 16 Nov 2011 at 10:04
Original issue reported on code.google.com by
p.summer...@gmail.com
on 16 Nov 2011 at 8:28