Changeset 7183
- Timestamp:
- 09/28/05 18:26:48 (3 years ago)
- Files:
-
- 11 modified
-
Setup.lhs (modified) (2 props)
-
perl5/PIL2JS/lib/PIL/PAssign.pm (modified) (1 diff)
-
perl5/PIL2JS/lib/PIL/PBind.pm (modified) (1 diff)
-
perl5/Perl6-MetaModel2.0/lib/chaos.pl (modified) (2 props)
-
perl5/Perl6-MetaModel2.0/t/35_AUTOLOAD.t (modified) (2 props)
-
perl5/Perl6-Value/lib/Perl6/Junction.pm (modified) (2 props)
-
pil.cabal (modified) (2 props)
-
src/Data/FastPackedString.hs (modified) (2 props)
-
src/cbits/fpstring.c (modified) (2 props)
-
src/cbits/fpstring.h (modified) (2 props)
-
t/unspecced/evaluation_order.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Setup.lhs
- Property svn:mime-type changed from text/script to text/plain; charset=UTF-8
- Property svn:eol-style set to native
-
perl5/PIL2JS/lib/PIL/PAssign.pm
r6693 r7183 23 23 no warnings "recursion"; 24 24 25 return PIL::possibly_ccify $self->{p RHS}, sub {26 my $ src= shift;27 return PIL::possibly_ccify $self->{p LHS}, sub {28 my $ dest= shift;25 return PIL::possibly_ccify $self->{pLHS}, sub { 26 my $dest = shift; 27 return PIL::possibly_ccify $self->{pRHS}, sub { 28 my $src = shift; 29 29 sprintf "%s(%s.STORE(%s))", 30 30 $self->{CC}->as_js, -
perl5/PIL2JS/lib/PIL/PBind.pm
r6937 r7183 23 23 no warnings "recursion"; 24 24 25 return PIL::possibly_ccify $self->{p RHS}, sub {26 my $ src= shift;27 return PIL::possibly_ccify $self->{p LHS}, sub {28 my $ dest= shift;25 return PIL::possibly_ccify $self->{pLHS}, sub { 26 my $dest = shift; 27 return PIL::possibly_ccify $self->{pRHS}, sub { 28 my $src = shift; 29 29 sprintf "%s(%s.BINDTO(%s))", 30 30 $self->{CC}->as_js, -
perl5/Perl6-MetaModel2.0/lib/chaos.pl
- Property svn:mime-type set to text/plain; charset=UTF-8
- Property svn:eol-style set to native
-
perl5/Perl6-MetaModel2.0/t/35_AUTOLOAD.t
- Property svn:mime-type set to text/plain; charset=UTF-8
- Property svn:eol-style set to native
-
perl5/Perl6-Value/lib/Perl6/Junction.pm
- Property svn:mime-type set to text/plain; charset=UTF-8
- Property svn:eol-style set to native
-
pil.cabal
- Property svn:mime-type set to text/plain; charset=UTF-8
- Property svn:eol-style set to native
-
src/Data/FastPackedString.hs
- Property svn:mime-type set to text/plain; charset=UTF-8
- Property svn:eol-style set to native
-
src/cbits/fpstring.c
- Property svn:mime-type set to text/plain; charset=UTF-8
- Property svn:eol-style set to native
-
src/cbits/fpstring.h
- Property svn:mime-type set to text/plain; charset=UTF-8
- Property svn:eol-style set to native
-
t/unspecced/evaluation_order.t
r7070 r7183 4 4 use Test; 5 5 6 plan 5;6 plan 10; 7 7 8 8 throws_ok { 9 9 die "first"; 10 10 die "second"; 11 } "first", "this better work ;-)";11 }, "first", "this better work ;-)"; 12 12 13 13 throws_ok { 14 14 my @a; 15 15 @a[die "first"] = die "second"; 16 } "first", "evaluation order of left/right sides ofassignment";16 }, "first", "evaluation order of left/right sides of array assignment"; 17 17 18 18 throws_ok { 19 my @a = (die "first", die "second"); 20 }"first", "evaluation order of list context"; 19 my @a; 20 @a[die "first"] := die "second"; 21 }, "first", "evaluation order of left/right sides of array binding"; 21 22 22 23 throws_ok { 23 my $x = die "first", die "second"; 24 } "first", "evaluation order of multiple items in scalar context"; 24 my sub foo ($arg) is rw { my $var }; 25 foo(die "first") = die "second"; 26 }, "first", "evaluation order of left/right sides of lvalue sub assignment"; 25 27 26 28 throws_ok { 27 say(die "first", die "second"); 28 } "first", "evaluation in function application"; 29 my sub foo ($arg) is rw { my $var }; 30 foo(die "first") := die "second"; 31 }, "first", "evaluation order of left/right sides of lvalue sub binding"; 29 32 33 throws_ok { 34 my @a = (die("first"), die("second")); 35 }, "first", "evaluation order of list context"; 30 36 37 throws_ok { 38 my $x = die("first"), die("second"); 39 }, "first", "evaluation order of multiple items in scalar context"; 40 41 throws_ok { 42 say(die("first"), die("second")); 43 }, "first", "evaluation in function application"; 44 45 throws_ok { 46 (die "first")(die "second"); 47 }, "first", "evaluation order of using (die()) as subref"; 48 49 throws_ok { 50 (die "first") += die "second"; 51 }, "first", "evaluation order of +=";
