#1988: lib/Parrot/Pmc2c/PMCEmitter.pm:  Is this file useless?
-----------------------+----------------------------------------------------
 Reporter:  jkeenan    |       Owner:       
     Type:  bug        |      Status:  new  
 Priority:  normal     |   Milestone:       
Component:  configure  |     Version:  3.0.0
 Severity:  medium     |    Keywords:       
     Lang:             |       Patch:       
 Platform:             |  
-----------------------+----------------------------------------------------

Comment(by jkeenan):

 Hmm, I see that my search was not sufficiently broad:
 {{{
 $ ack 'PMCEmitter.pm' *
 Makefile
 1874:    lib/Parrot/Pmc2c/PMCEmitter.pm \

 config/auto/pmc.pm
 65:    lib/Parrot/Pmc2c/PMCEmitter.pm \\

 lib/Parrot/Pmc2c/Method.pm
 206:    lib/Parrot/Pmc2c/PMCEmitter.pm

 lib/Parrot/Config/Generated.pm
 502:    lib/Parrot/Pmc2c/PMCEmitter.pm \\
 }}}
 ... which led to this build failure:
 {{{
 make: *** No rule to make target `lib/Parrot/Pmc2c/PMCEmitter.pm', needed
 by `src/pmc/default.dump'.  Stop.
 }}}
 Still, the notion that a file named ''lib/Parrot/X.pm'' does not contain a
 package called `Parrot::X` sticks in my throat.  It's legal Perl 5, but
 it's certainly not a best practice -- particularly when a package of the
 same name appears in a different, correctly named file.

 Suggestions?

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1988#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to