Need BUILD/bless and a new that takes *%args #3

Closed
jnthn opened this Issue Feb 15, 2011 · 2 comments

Comments

Projects
None yet
3 participants
@jnthn
Member

jnthn commented Feb 15, 2011

Get some simple constructor/BUILD support in place in NQPMu.

@moritz

This comment has been minimized.

Show comment
Hide comment
@moritz

moritz Feb 16, 2011

Member

nqp now supports .bless and .new with *%args.

Since I didn't find any support for submethods, I left BUILD out for now.

Member

moritz commented Feb 16, 2011

nqp now supports .bless and .new with *%args.

Since I didn't find any support for submethods, I left BUILD out for now.

@arnsholt

This comment has been minimized.

Show comment
Hide comment
@arnsholt

arnsholt Oct 5, 2013

Member

According to @jnthn, submethods aren't planned so far, so I'm closing this for now. If we ever implement them we can reopen this issue.

Member

arnsholt commented Oct 5, 2013

According to @jnthn, submethods aren't planned so far, so I'm closing this for now. If we ever implement them we can reopen this issue.

@arnsholt arnsholt closed this Oct 5, 2013

pmurias added a commit that referenced this issue Nov 28, 2015

[js] Continuations are just starting to partially work
my $savecont;
nqp::continuationreset(nqp::null(), -> {
    nqp::say("#1");
    nqp::continuationcontrol(0, nqp::null(), -> $cont {
        $savecont := $cont;
    });
    nqp::say("#3");
});
nqp::say("#2");
nqp::continuationinvoke($savecont, -> {  });
nqp::say("#4");

prints stuff in the right order.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment