Skip to content

Instantly share code, notes, and snippets.

@mlschroe
Created October 10, 2011 10:20

Revisions

  1. mlschroe created this gist Oct 10, 2011.
    23 changes: 23 additions & 0 deletions C3.diff
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    diff --git a/src/Perl6/Metamodel/C3MRO.pm b/src/Perl6/Metamodel/C3MRO.pm
    index fd2b170..cb00d6d 100644
    --- a/src/Perl6/Metamodel/C3MRO.pm
    +++ b/src/Perl6/Metamodel/C3MRO.pm
    @@ -55,12 +55,12 @@ role Perl6::Metamodel::C3MRO {
    }
    }

    - # If we didn't reject it, this candidate will do.
    - unless $rejected {
    - $accepted := $cand_class;
    - $something_accepted := 1;
    - last;
    - }
    + }
    + # If we didn't reject it, this candidate will do.
    + unless $rejected {
    + $accepted := $cand_class;
    + $something_accepted := 1;
    + last;
    }
    }
    }