On Wed Oct 14 10:10:14 2015, larry wrote: > On Wed Oct 14 09:46:18 2015, larry wrote: > > 09:39 < TimToady> HLL::Compiler is very confused about what is the > > language > > name/version vs compiler name/version, and this shows up in both -v > > and -V > > 09:40 < TimToady> "This is perl6 version 2015.09-373-g254c1a8" > > 09:42 < TimToady> should be more like "This is rakudo version > > 2015.09-373-g254c1a8 implementing Perl v6b" or so > > > > (well, that, and it should still mention the backend version too) > > Also, make sure the Perl version is stored in only one place. In > addition to the HLL::Compiler spot, we currently have: > > ./core/Perl.pm: :$!version = Version.new("6b"), > ./Perl6/Grammar.nqp: my $vhave := > $*W.find_symbol(['Version']).new('6.b'); # XXX need to use same > source as Version.pm
Factored it out, both removing the special case in NQP and the duplication inside of Rakudo. Both -v and -V now carry the correct info.