File: fix-incorrect-code-to-synopsis.patch

package info (click to toggle)
libmoosex-role-strict-perl 0.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 132 kB
  • sloc: perl: 120; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Patch to fix incorrect code to synopsis.
Forwarded: https://github.com/Ovid/MooseX--Role--Strict/pull/4
Author: Oleg Gashev <oleg@gashev.net>

--- a/lib/MooseX/Role/Strict.pm
+++ b/lib/MooseX/Role/Strict.pm
@@ -125,7 +125,7 @@
     {
         package My::Class;
         use Moose;
-        with 'My::Role' => { -excludes => 'conflict' };
+        with 'My::Role' => { -excludes => [ 'conflict' ] };
         sub conflict {}
     }