Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c6eefb23e2b9ac302175c6585e0cce5f0c413410
      
https://github.com/Perl/perl5/commit/c6eefb23e2b9ac302175c6585e0cce5f0c413410
  Author: Lukas Mai <[email protected]>
  Date:   2025-10-05 (Sun, 05 Oct 2025)

  Changed paths:
    M t/op/goto.t

  Log Message:
  -----------
  test goto exemption from 'looks like a function' rule

Like 'return', 'goto' is exempt from the "if it looks like a function,
it is parsed like a function" rule, so 'goto ($foo) . $bar' parses as
'goto $foo . $bar'. Previously, there had been no test for this special
case.

Fixes #23806.

(Also, remove trailing whitespace from test file.)



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to