On Wed, 12 Oct 2016 07:07:19 -0700, mt1...@gmail.com wrote: > Hi, > > I wanted to define a class in the 'Pod' package like so (in file > lib/Pod/Render.pm6) > > > use Pod::To::HTML; > unit package Pod; > class Render { > # ... > } > > > Then use it > > use Pod::Render; > my Pod::Render $pr .= new; > > Throws the exception > > ===SORRY!=== > Type 'Pod::Render' is not declared > at /home/marcel/Languages/Perl6/Projects/pod-render/bin/pod-render.pl6:10 > ------> my Pod::Render⏏ $pr .= new; > Malformed my > at /home/marcel/Languages/Perl6/Projects/pod-render/bin/pod-render.pl6:10 > ------> my Pod::⏏Render $pr .= new; > > > I expect it to instantiate without problems as seen in my other projects. > > When the declaration becomes like below, everything goes well. > > use Pod::To::HTML; > class Pod::Render { > > } > > > Greetings, > Marcel >
This appears to have been fixed. Tests added in roast commit 6e5180e96, so resolving.