On Mon Jun 10 00:32:33 2013, dagurval wrote: > > say slurp("/tmp/a.pm6") > sub abc() is export { say "hello" } > > This works (given that it's NYI) > > require("/tmp/a.pm6") "&abc"; > abc(); > Trying to import symbols &abc from '/tmp/a.pm6', but it does not export > anything > > Without the ampersand however, > > require("/tmp/a.pm6") "abc"; abc(); > Error while compiling block (source text: "require(\"/tmp/a.pm6\") > \"abc\"; abc();\n"): Error while compiling op call: Error while compiling > block : Error while compiling op call: Null PMC access in > find_method('handle')
This now works, and is closable with tests. -- Will "Coke" Coleda