Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tests for RT #77000
  • Loading branch information
moritz committed Oct 20, 2011
1 parent cc1b81e commit e42a6ad
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions S02-types/whatever.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 75;
plan 77;

# L<S02/The Whatever Object/"The * character as a standalone term captures the notion of">
# L<S02/Native types/"If any native type is explicitly initialized to">
Expand Down Expand Up @@ -255,6 +255,10 @@ eval_lives_ok '{*.{}}()', '{*.{}}() lives';
is *.&f.('a'), 'aa', '*.&sub curries';
}

done;
# RT #77000
{
isa_ok *[0], WhateverCode, '*[0] curries';
is *[0]([1, 2, 3]), 1, '... it works';
}

# vim: ft=perl6

0 comments on commit e42a6ad

Please sign in to comment.