Re: t/spec/S02-builtin_data_types/type.t and 'try' statement

2008-06-07 Thread Moritz Lenz
Patrick R. Michaud wrote: > t/spec/S02-builtin_data_types/type.t:23 in the spectests (r20685) > has the following: > > my Int $foo; > my Str $bar; > > #?rakudo skip 'type checking unimpl' > { > #?pugs 1 todo > is(try{$foo = 'xyz'}, undef, 'Int restricts to integers'); >

Re: [perl #55304] [PATCH] eval_(dies|lives)_ok methods for rakudo's Test.pm, and more tests

2008-06-07 Thread Vasily Chekalkin
jerry gay wrote: On Wed, Jun 4, 2008 at 2:46 PM, Moritz Lenz <[EMAIL PROTECTED]> wrote: Oops, forgot to attach patch. Now it's really there. thanks, applied as of r28074. ~jerry This is wrong patch. eval() shouldn't throws any exceptions. Correct patch for 'eval()' and Test.pm attached. -

[perl #55438] [PATCH] Patched Test.pm and test for Test.pm

2008-06-07 Thread via RT
# New Ticket Created by Vasily Chekalkin # Please include the string: [perl #55438] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=55438 > Hello. There is patched Test.pm which allows unittest it. Provide method to overri

Re: [perl #55304] [PATCH] eval_(dies|lives)_ok methods for rakudo's Test.pm, and more tests

2008-06-07 Thread Vasily Chekalkin
jerry gay wrote: would you reformat this in universal diff format please? my patch program doesn't speak git. Strange... It is 'universal diff' format. Can be applied with 'patch -p1 < eval.diff' in top-level parrot directory. Or with 'patch -p3 < eval.diff' in languages/perl6. Anyway, attache

Re: [perl #55304] [PATCH] eval_(dies|lives)_ok methods for rakudo's Test.pm, and more tests

2008-06-07 Thread Ronald Schmidt
Vasily Chekalkin wrote: This is wrong patch. eval() shouldn't throws any exceptions. Correct patch for 'eval()' and Test.pm attached. As Mr Lenz wrote with respect to eval exceptions and this patch: Are there any exceptions that are not caught by eval? Currently rakudo seems to catch every

Re: [perl #55304] [PATCH] eval_(dies|lives)_ok methods for rakudo's Test.pm, and more tests

2008-06-07 Thread Brandon S. Allbery KF8NH
On 2008 Jun 6, at 23:53, Vasily Chekalkin wrote: jerry gay wrote: would you reformat this in universal diff format please? my patch program doesn't speak git. Strange... It is 'universal diff' format. Can be applied with 'patch -p1 < eval.diff' in top-level parrot directory. Or with 'patch -

S03 question - infix:

2008-06-07 Thread Patrick R. Michaud
In 2005 Larry wrote [1]: > [...] I think xor and ^^ > should be make list associative but execute left-to-right, short > circuiting on the second true discovered, so you have some hope of >ordering the harder conditions later in a sequence and bypassing them. > In either case the one true value is

S29 C and spectests

2008-06-07 Thread Patrick R. Michaud
Tonight while working on Rakudo's Str implementation, I noticed the following line in S29-list/map_function_return_values.t : %ret = map { $_ => uc $_; }, split "", $text; This clashes with the definition of C given by S29, where the first argument (invocant) is the string to be split and the