Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a partial NQPMu to the mini-setting.
  • Loading branch information
pmurias committed Dec 1, 2014
1 parent 2063552 commit b0085d8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/vm/js/mini-setting
Expand Up @@ -49,6 +49,29 @@ sub spew($filename, $contents) {
nqp::closefh($handle);
}

my class NQPMu {
method CREATE() {
nqp::create(self)
}

method bless(NQPMu:U $self: *%attributes) {
my $instance := self.CREATE();
$instance
}

method new(*%attributes) {
self.bless(|%attributes);
}

method defined() {
nqp::isconcrete(self)
}

method isa($type) {
self.HOW.isa(self, $type)
}
}

my $test_counter := 0;
my $todo_upto_test_num := 0;
my $todo_reason := '';
Expand Down

0 comments on commit b0085d8

Please sign in to comment.