Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (9 sloc) 0.265 kb
#! nqp
class ABC {
method () is pirflags<:vtable('get_number')> { 123.0 }
method () is pirflags<:vtable('get_string')> { 'abc' }
}
plan(2);
my $abc := ABC.new;
ok($abc == 123, "get_number vtable works");
ok($abc eq 'abc', "get_string vtable works");
Jump to Line
Something went wrong with that request. Please try again.