Re: Useless use of constant value

2019-11-27 Thread ToddAndMargo via perl6-users
On 28 Nov 2019, at 05:07, ToddAndMargo via perl6-users wrote: Hi All, C:\NtUtil>perl6 -v This is Rakudo Star version 2019.03.1 built on MoarVM version 2019.03 implementing Perl 6.d for Windows What am I doing wrong here? unit module WinVer; # WinVer.pm6 sub WinVer() is export( :WinVer

Re: Useless use of constant value

2019-11-27 Thread Elizabeth Mattijsen
Try naming the sub a different name from the class. For some reason "WinVer" is referring to the "WinVer" type object, instead of the WinVer sub. This may be a case of DIHWIDT, or a bug, not sure. > On 28 Nov 2019, at 05:07, ToddAndMargo via perl6-users > wrote: > > Hi All, > > C:\NtUtil>p