Skip Menu |

This queue is for tickets about the SPVM CPAN distribution.

Report information
The Basics
Id: 127110
Status: open
Priority: 0/
Queue: SPVM

People
Owner: Nobody in particular
Requestors: RURBAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Incompatible return type syntax
I see that you changed the return type attribute from after the signature to before the signature, like perl 5.28 did. Plus undo that and accept it after the signature again. cperl has that syntax for 4 years already. perl6 needs the return type after the signature. It makes no sense to follow wrong and breaking p5p decisions. They should have done this in a major change, perl 7, but not perl 5. Every other language either specifies it at very first (C,C++), or behind the arguments. -- Reini Urban
Subject: Re: [rt.cpan.org #127110] Incompatible return type syntax
Date: Tue, 25 Sep 2018 08:11:11 +0900
To: bug-SPVM [...] rt.cpan.org
From: Yuki Kimoto <kimoto.yuki [...] gmail.com>
Reini Thank you for your comment. I don't know what decisions is correct. Can you describe the benefit and demerit of return type after signatres or return before signatres? 2018年9月14日(金) 18:26 Reini Urban via RT <bug-SPVM@rt.cpan.org>: Show quoted text
> Fri Sep 14 05:26:41 2018: Request 127110 was acted upon. > Transaction: Ticket created by RURBAN > Queue: SPVM > Subject: Incompatible return type syntax > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: RURBAN@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=127110 > > > > I see that you changed the return type attribute from after the signature > to before the signature, like perl 5.28 did. > Plus undo that and accept it after the signature again. > > cperl has that syntax for 4 years already. > perl6 needs the return type after the signature. > It makes no sense to follow wrong and breaking p5p decisions. They should > have done this in a major change, perl 7, but not perl 5. > > Every other language either specifies it at very first (C,C++), or behind > the arguments. > -- > Reini Urban >